summaryrefslogtreecommitdiff
path: root/spec/ruby/core/module/included_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/module/included_spec.rb')
-rw-r--r--spec/ruby/core/module/included_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/module/included_spec.rb b/spec/ruby/core/module/included_spec.rb
index 2fdd4325f2..d8a6c3f839 100644
--- a/spec/ruby/core/module/included_spec.rb
+++ b/spec/ruby/core/module/included_spec.rb
@@ -34,7 +34,7 @@ describe "Module#included" do
end
it "is private in its default implementation" do
- Module.should have_private_instance_method(:included)
+ Module.private_instance_methods(false).should.include?(:included)
end
it "works with super using a singleton class" do