Skip to content

Commit

Permalink
Don't pass double as options
Browse files Browse the repository at this point in the history
  • Loading branch information
shioyama committed Mar 20, 2024
1 parent 8e5fd04 commit a66dc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/mobility/backend_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def self.foobar

it "returns value when configured" do
model_class = double("model class")
options = double("options")
options = {}
subclass = backend_class.build_subclass(model_class, options)
expect(subclass.model_class).to eq(model_class)
expect(subclass.options).to eq(options)
Expand Down

0 comments on commit a66dc33

Please sign in to comment.