diff options
Diffstat (limited to 'spec/ruby/library/stringio/shared/isatty.rb')
| -rw-r--r-- | spec/ruby/library/stringio/shared/isatty.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/ruby/library/stringio/shared/isatty.rb b/spec/ruby/library/stringio/shared/isatty.rb new file mode 100644 index 0000000000..2b92e8d656 --- /dev/null +++ b/spec/ruby/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 == false + end +end |
