From 29a98ddc29f55beb8dd3fd8a23b74230c03c6e4d Mon Sep 17 00:00:00 2001 From: goobertron Date: Mon, 13 Jan 2014 18:47:47 +0000 Subject: [PATCH] Remove duplicate test steps --- features/step_definitions/profile_steps.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/features/step_definitions/profile_steps.rb b/features/step_definitions/profile_steps.rb index c1caa8a46..80b148d9b 100644 --- a/features/step_definitions/profile_steps.rb +++ b/features/step_definitions/profile_steps.rb @@ -6,16 +6,3 @@ And /^I mark myself as safe for work$/ do uncheck('profile[nsfw]') end -And /^the "profile[nsfw]" checkbox should be checked$/ do |label, selector| - with_scope(selector) do - field_checked = find_field(label)['checked'] - field_checked.should be_true - end -end - -And /^the "profile[nsfw]" checkbox should not be checked$/ do |label, selector| - with_scope(selector) do - field_checked = find_field(label)['checked'] - field_checked.should be_false - end -end