1 2 3 4 5
describe :stringio_isatty, shared: true do it "returns false" do StringIO.new("tty").send(@method).should be_false end end