summaryrefslogtreecommitdiff
path: root/spec/ruby/core/method/unbind_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/method/unbind_spec.rb')
-rw-r--r--spec/ruby/core/method/unbind_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/method/unbind_spec.rb b/spec/ruby/core/method/unbind_spec.rb
index 0b630e4d88..994c3a8879 100644
--- a/spec/ruby/core/method/unbind_spec.rb
+++ b/spec/ruby/core/method/unbind_spec.rb
@@ -11,7 +11,7 @@ describe "Method#unbind" do
end
it "returns an UnboundMethod" do
- @normal_um.should be_kind_of(UnboundMethod)
+ @normal_um.should.is_a?(UnboundMethod)
end
describe "#inspect" do