diff options
Diffstat (limited to 'spec/ruby/core/method/unbind_spec.rb')
| -rw-r--r-- | spec/ruby/core/method/unbind_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/method/unbind_spec.rb b/spec/ruby/core/method/unbind_spec.rb index cdd3a808f2..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 @@ -28,7 +28,7 @@ describe "Method#unbind" do end it "returns a String containing the Module the method is referenced from" do - @string.should =~ /MethodSpecs::MySub/ + @string.should =~ /MethodSpecs::MyMod/ end end |
