summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/deconstruct_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/deconstruct_spec.rb')
-rw-r--r--spec/ruby/core/array/deconstruct_spec.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/spec/ruby/core/array/deconstruct_spec.rb b/spec/ruby/core/array/deconstruct_spec.rb
index 2b07152dfc..ad67abe47b 100644
--- a/spec/ruby/core/array/deconstruct_spec.rb
+++ b/spec/ruby/core/array/deconstruct_spec.rb
@@ -1,11 +1,9 @@
require_relative '../../spec_helper'
-ruby_version_is "2.7" do
- describe "Array#deconstruct" do
- it "returns self" do
- array = [1]
+describe "Array#deconstruct" do
+ it "returns self" do
+ array = [1]
- array.deconstruct.should equal array
- end
+ array.deconstruct.should equal array
end
end