diff options
Diffstat (limited to 'spec/ruby/library/weakref/weakref_alive_spec.rb')
| -rw-r--r-- | spec/ruby/library/weakref/weakref_alive_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/weakref/weakref_alive_spec.rb b/spec/ruby/library/weakref/weakref_alive_spec.rb index 5bd7c3166b..1b12ffbbec 100644 --- a/spec/ruby/library/weakref/weakref_alive_spec.rb +++ b/spec/ruby/library/weakref/weakref_alive_spec.rb @@ -8,8 +8,8 @@ describe "WeakRef#weakref_alive?" do ref.weakref_alive?.should == true end - it "returns a falsey value if the object is no longer reachable" do + it "returns a falsy value if the object is no longer reachable" do ref = WeakRefSpec.make_dead_weakref - [false, nil].should include(ref.weakref_alive?) + [false, nil].should.include?(ref.weakref_alive?) end end |
