Skip to content

Commit

Permalink
Add assertion to scopes_spec
Browse files Browse the repository at this point in the history
This test was previously missing an assertion. Added one to assert the
current behaviour
  • Loading branch information
jhawthorn committed Feb 16, 2016
1 parent 304fc21 commit 0822a35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/spec/models/spree/variant/scopes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
end

it "by mixed conditions" do
product_variants.has_option(option_type.id, "foo", option_value_2)
variants = product_variants.has_option(option_type.id, "foo", option_value_2)
expect(variants).to be_empty
end
end
end

0 comments on commit 0822a35

Please sign in to comment.