Skip to content

Commit

Permalink
removed commented out lines from option_steps.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
rnickles committed Mar 11, 2024
1 parent e284c66 commit ed69048
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions features/step_definitions/option_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed69048

Please sign in to comment.