We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dabc51 commit ee0687cCopy full SHA for ee0687c
1 file changed
spec/query_solution_spec.rb
@@ -19,15 +19,15 @@
19
specify {expect(subject["$$e"]).to eq 5}
20
21
context "with accessor overriding instance method" do
22
- subject {described_class.new(then: 'foo')}
+ subject {described_class.new(tap: 'foo')}
23
24
it "notes deprecation when accessor is an overriddedn instance method" do
25
expect do
26
- expect(subject.then).to eq 'foo'
+ expect(subject.tap).to eq 'foo'
27
end.to write('[DEPRECATION]').to(:error)
28
29
30
- expect(subject[:then]).to eq 'foo'
+ expect(subject[:tap]).to eq 'foo'
31
end.not_to write.to(:error)
32
end
33
0 commit comments