Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions core/io/shared/each.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
$_.should == "test"
end

it "returns self" do
@io.send(@method) { |l| l }.should equal(@io)
end

it "raises an IOError when self is not readable" do
-> { IOSpecs.closed_io.send(@method) {} }.should raise_error(IOError)
end
Expand Down