Better speccing and cleanup in between commit
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
step "the user scans a table QR code" do
|
||||
step 'there is a table'
|
||||
#page.execute_script "Quser.actions_for_table({table_id: '#{@table.id}'})"
|
||||
page.execute_script "App.__container__.lookup('route:application').transitionTo('table','#{@table.id}')"
|
||||
end
|
||||
|
||||
step "another user scans the QR code on the table" do
|
||||
step 'there is another signed in user user'
|
||||
visit user_root_path
|
||||
#page.execute_script "Quser.actions_for_table({table_id: '#{@table.id}'})"
|
||||
page.execute_script "App.__container__.lookup('route:application').transitionTo('table','#{@table.id}')"
|
||||
end
|
||||
|
||||
@@ -38,4 +36,3 @@ end
|
||||
step "the other user clicks the join table button" do
|
||||
find('.join-table-button').click
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user