Fix all failing specs

This commit is contained in:
2015-01-21 19:18:12 +01:00
parent 9a8c364d38
commit 4462be55d1
11 changed files with 29 additions and 28 deletions
@@ -33,11 +33,7 @@ step "there is another table with an active list of another user" do
end
step "the user scans a QR code of another not occupied table" do
r = page.evaluate_script %|
c = App.__container__.lookup('controller:select_qrcode');
c.send('selectQr', {_id: "#{@other_table.id}"});
c.toString()
|
page.execute_script %|App.__container__.lookup('controller:select_qrcode').send('selectQr', {_id: "#{@other_table.id}"})|
#page.execute_script "Quser.actions_for_table({table_id: '#{@other_table.id}'})"
end