Permalink
Browse files

Spec for IO including Enumerable.

  • Loading branch information...
brixen committed Sep 6, 2011
1 parent e8b684f commit b9331876d0fb090cd450924e4b03ddf798fe7904
Showing with 5 additions and 1 deletion.
  1. +5 −1 spec/ruby/core/io/io_spec.rb
@@ -2,6 +2,10 @@
describe "IO" do
it "includes File::Constants" do
- IO.include?(File::Constants).should == true
+ IO.should include(File::Constants)
+ end
+
+ it "includes Enumerable" do
+ IO.should include(Enumerable)
end
end

0 comments on commit b933187

Please sign in to comment.