Skip to content

Commit 36bb42a

Browse files
committed
💚 Fix CI for oldest Rubies
1 parent 3af0f95 commit 36bb42a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/snaky_hash/string_keyed_spec.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
it_behaves_like "a snaked hash"
99

1010
it "can transform keys to string" do
11+
skip_for(
12+
engine: "ruby",
13+
versions: %w(2.2.10 2.3.8 2.4.10),
14+
reason: "transform_keys is not available in these versions of Ruby"
15+
)
1116
a = described_class.new(asd: "asd")
1217
b = a.transform_keys(&:to_s)
1318
expect(b.keys).to eq(["asd"])

0 commit comments

Comments
 (0)