Permalink
Browse files

Create promotion_action_line_items without protection in create_line_…

…items_spec
  • Loading branch information...
1 parent 9d57342 commit ae0650789b1f950161c0193be04d393e901f7083 @radar radar committed with Apr 4, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 promo/spec/models/promotion/actions/create_line_items_spec.rb
View
8 promo/spec/models/promotion/actions/create_line_items_spec.rb
@@ -9,13 +9,13 @@
before do
@v1 = Factory(:variant)
@v2 = Factory(:variant)
- action.promotion_action_line_items.create!(
+ action.promotion_action_line_items.create!({
:variant => @v1,
- :quantity => 1
+ :quantity => 1}, :without_protection => true
)
- action.promotion_action_line_items.create!(
+ action.promotion_action_line_items.create!({
:variant => @v2,
- :quantity => 2
+ :quantity => 2}, :without_protection => true
)
end

0 comments on commit ae06507

Please sign in to comment.