summaryrefslogtreecommitdiff
path: root/spec/ruby/core/module/new_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/module/new_spec.rb')
-rw-r--r--spec/ruby/core/module/new_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/module/new_spec.rb b/spec/ruby/core/module/new_spec.rb
index ec521360bd..ec7a0cfa77 100644
--- a/spec/ruby/core/module/new_spec.rb
+++ b/spec/ruby/core/module/new_spec.rb
@@ -7,7 +7,7 @@ describe "Module.new" do
end
it "creates a module without a name" do
- Module.new.name.should be_nil
+ Module.new.name.should == nil
end
it "creates a new Module and passes it to the provided block" do