Skip to content

Commit efc9d65

Browse files
committed
Fixed another rubocop setting
1 parent df9d311 commit efc9d65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/react_on_rails/react_component/render_options_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ def the_attrs(react_component_name: "App", options: {})
7575

7676
it "is memoized" do
7777
opts = described_class.new(the_attrs)
78-
generated_value = opt.dom_id
78+
generated_value = opts.dom_id
7979

8080
expect(opts.instance_variable_get(:@dom_id)).to eq generated_value
8181
expect(opts.instance_variable_get(:@dom_id)).to eq opt.dom_id
8282

83-
opts.instance_variable_set(:@dom_id, '1234')
84-
expect(opt.dom_id).to eq '1234'
83+
opts.instance_variable_set(:@dom_id, "1234")
84+
expect(opts.dom_id).to eq "1234"
8585
end
8686
end
8787

0 commit comments

Comments
 (0)