summaryrefslogtreecommitdiff
path: root/spec/ruby/core/data/deconstruct_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/data/deconstruct_spec.rb')
-rw-r--r--spec/ruby/core/data/deconstruct_spec.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/ruby/core/data/deconstruct_spec.rb b/spec/ruby/core/data/deconstruct_spec.rb
index f0995e8fed..4ca0b87039 100644
--- a/spec/ruby/core/data/deconstruct_spec.rb
+++ b/spec/ruby/core/data/deconstruct_spec.rb
@@ -1,10 +1,8 @@
require_relative '../../spec_helper'
require_relative 'fixtures/classes'
-ruby_version_is "3.2" do
- describe "Data#deconstruct" do
- it "returns an array of attribute values" do
- DataSpecs::Measure.new(42, "km").deconstruct.should == [42, "km"]
- end
+describe "Data#deconstruct" do
+ it "returns an array of attribute values" do
+ DataSpecs::Measure.new(42, "km").deconstruct.should == [42, "km"]
end
end