From bf176a2e2b5b91784ce90e192cef5b3ec24f7024 Mon Sep 17 00:00:00 2001 From: Johannes Brodwall Date: Sat, 5 May 2012 20:13:12 +0200 Subject: [PATCH] Removed Cucumber tests for Withdraw link as this is now hidden --- features/aa_withdraw.feature | 10 ---------- features/step_definitions/team_steps.rb | 5 ----- 2 files changed, 15 deletions(-) delete mode 100644 features/aa_withdraw.feature diff --git a/features/aa_withdraw.feature b/features/aa_withdraw.feature deleted file mode 100644 index 0731bf9..0000000 --- a/features/aa_withdraw.feature +++ /dev/null @@ -1,10 +0,0 @@ -Feature: A team can withdraw from the game - In order to be considered as big loosers - As a team - I want to be able to withdraw from the game - - Scenario: Withdraw - Given I am playing - When I withdraw - Then my name should not be on the leaderboard anymore - And the game master should not send me anymore questions \ No newline at end of file diff --git a/features/step_definitions/team_steps.rb b/features/step_definitions/team_steps.rb index 3a09f44..bfc937d 100644 --- a/features/step_definitions/team_steps.rb +++ b/features/step_definitions/team_steps.rb @@ -58,11 +58,6 @@ app.players_threads[player_uuid].should be_alive end -When /^I withdraw$/ do - visit '/' - click_link 'Withdraw' -end - Then /^my name should not be on the leaderboard anymore$/ do page.should_not have_content("Jedi masters") end