Skip to content

Commit

Permalink
fix spec for rb_io_check_writeable
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolai Lugovoi committed Mar 25, 2011
1 parent a50ca60 commit 6576322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ruby/optional/capi/io_spec.rb
Expand Up @@ -101,7 +101,7 @@
end

it "does not raise an exception if the IO is opened for read and write" do
lambda { @o.rb_io_check_readable(@rw_io) }.should_not raise_error
lambda { @o.rb_io_check_writable(@rw_io) }.should_not raise_error
end

it "raises an IOError if the IO is not opened for reading" do
Expand Down

0 comments on commit 6576322

Please sign in to comment.