diff --git a/spec/react_on_rails/react_component/render_options_spec.rb b/spec/react_on_rails/react_component/render_options_spec.rb index d22c96eb3..2264d68fa 100644 --- a/spec/react_on_rails/react_component/render_options_spec.rb +++ b/spec/react_on_rails/react_component/render_options_spec.rb @@ -75,13 +75,13 @@ def the_attrs(react_component_name: "App", options: {}) it "is memoized" do opts = described_class.new(the_attrs) - generated_value = opt.dom_id + generated_value = opts.dom_id expect(opts.instance_variable_get(:@dom_id)).to eq generated_value expect(opts.instance_variable_get(:@dom_id)).to eq opt.dom_id - opts.instance_variable_set(:@dom_id, '1234') - expect(opt.dom_id).to eq '1234' + opts.instance_variable_set(:@dom_id, "1234") + expect(opts.dom_id).to eq "1234" end end