diff options
Diffstat (limited to 'spec/rubyspec/library/stringio/shared/isatty.rb')
-rw-r--r-- | spec/rubyspec/library/stringio/shared/isatty.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/rubyspec/library/stringio/shared/isatty.rb b/spec/rubyspec/library/stringio/shared/isatty.rb new file mode 100644 index 0000000000..3da5999953 --- /dev/null +++ b/spec/rubyspec/library/stringio/shared/isatty.rb @@ -0,0 +1,5 @@ +describe :stringio_isatty, shared: true do + it "returns false" do + StringIO.new('tty').send(@method).should be_false + end +end |