diff options
Diffstat (limited to 'spec/ruby/core/basicobject/__send___spec.rb')
| -rw-r--r-- | spec/ruby/core/basicobject/__send___spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/basicobject/__send___spec.rb b/spec/ruby/core/basicobject/__send___spec.rb index 26543ba5d5..2f814e448c 100644 --- a/spec/ruby/core/basicobject/__send___spec.rb +++ b/spec/ruby/core/basicobject/__send___spec.rb @@ -1,9 +1,9 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../../../shared/basicobject/send', __FILE__) +require_relative '../../spec_helper' +require_relative '../../shared/basicobject/send' describe "BasicObject#__send__" do it "is a public instance method" do - BasicObject.should have_public_instance_method(:__send__) + BasicObject.public_instance_methods(false).should.include?(:__send__) end it_behaves_like :basicobject_send, :__send__ |
