diff --git a/spec/features/play_now_spec.rb b/spec/features/play_now_spec.rb index fac51589..5aabb6e5 100644 --- a/spec/features/play_now_spec.rb +++ b/spec/features/play_now_spec.rb @@ -16,7 +16,7 @@ feature 'Play now', :devise do end it 'creates and joins a new game' do #TODO: Fix race condition - sleep 2 + # sleep 2 expect(page).to have_content "Hand to beat" #Game title derived from visitor soft_token expect(page).to have_content "#{Game.last.players.first.soft_token[0..4]}" @@ -39,7 +39,7 @@ feature 'Play now', :devise do #expect(page).to have_content "Test Game" # expect(page).to have_content "Hand to beat" # TODO fix race condition - sleep 8 + # sleep 8 #it 'is located at the correct url' do expect(page).to have_current_path(table_path(@table)) expect(page).to have_content "Guest"