From ed690485551fae043b51408c8db6a516bd7278d1 Mon Sep 17 00:00:00 2001 From: rnickles Date: Mon, 11 Mar 2024 13:19:08 -0700 Subject: [PATCH] removed commented out lines from option_steps.rb --- features/step_definitions/option_steps.rb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/features/step_definitions/option_steps.rb b/features/step_definitions/option_steps.rb index e099b5bf1..35af1492d 100644 --- a/features/step_definitions/option_steps.rb +++ b/features/step_definitions/option_steps.rb @@ -56,18 +56,10 @@ # How to check what option the radio button currently has selected? radio_button = page.find(:css, '#donation_type_radio') end + ##### # Step defintions for testing the recurring donation feature user view ##### - -# Given /admin has not allowed recurring donations/ do -# Option.first.update_attributes!(:allow_recurring_donations => false) -# end - -# Given /admin has allowed recurring donations/ do -# Option.first.update_attributes!(:allow_recurring_donations => true) -# end - Given /admin "(.*)" allowed recurring donations/ do |value| if value == 'has' value = true