before switch to ubuntu commit since apple has issues
This commit is contained in:
@@ -3,12 +3,6 @@ step "the user scans a table QR code" do
|
||||
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 "App.__container__.lookup('route:application').transitionTo('table','#{@table.id}')"
|
||||
end
|
||||
|
||||
step "I am on the user homepage" do
|
||||
step "the user is on the homepage"
|
||||
end
|
||||
|
||||
@@ -14,6 +14,14 @@ step "the original user should not see the join request anymore" do
|
||||
page.should_not have_content request_text
|
||||
end
|
||||
|
||||
step "another user scans the QR code on the table" do
|
||||
step 'there is another signed in user user'
|
||||
visit user_root_path
|
||||
when_ember_is_ready do
|
||||
page.execute_script "App.__container__.lookup('route:application').transitionTo('table','#{@table.id}')"
|
||||
end
|
||||
end
|
||||
|
||||
step "the original user approves the other user's join request" do
|
||||
find('.join-request-approve').click
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user