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 271deca commit 2d90c84
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 2d90c84

Please sign in to comment.