summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/empty_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/empty_spec.rb')
-rw-r--r--spec/ruby/core/array/empty_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/array/empty_spec.rb b/spec/ruby/core/array/empty_spec.rb
index b5f3e8ed48..f70b1b6ebe 100644
--- a/spec/ruby/core/array/empty_spec.rb
+++ b/spec/ruby/core/array/empty_spec.rb
@@ -3,8 +3,8 @@ require_relative 'fixtures/classes'
describe "Array#empty?" do
it "returns true if the array has no elements" do
- [].empty?.should == true
- [1].empty?.should == false
- [1, 2].empty?.should == false
+ [].should.empty?
+ [1].should_not.empty?
+ [1, 2].should_not.empty?
end
end