mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
WIP for order spec
This commit is contained in:
@@ -22,10 +22,10 @@ feature %q{
|
||||
|
||||
click_link 'Orders'
|
||||
|
||||
@orders.each |order|
|
||||
@orders.each do |order|
|
||||
|
||||
#click the link for the order
|
||||
click_link "[data-action=capture][href*=R#{order.number}]"
|
||||
click_link "[data-action=capture][href*=R#{order.order_id}]"
|
||||
|
||||
#we should be notified
|
||||
flash_message.should == "Payment Updated"
|
||||
@@ -37,9 +37,6 @@ feature %q{
|
||||
|
||||
|
||||
end #orders.each
|
||||
|
||||
|
||||
end #scenario
|
||||
|
||||
end #context
|
||||
end
|
||||
end #feature
|
||||
|
||||
Reference in New Issue
Block a user