Skip to content

Commit

Permalink
fix style in cucumber feature file
Browse files Browse the repository at this point in the history
  • Loading branch information
winsonwan committed Apr 28, 2024
1 parent aef99ae commit 24a6bd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/donations/monthly_donation_user_view.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Feature: make a recurring donation through quick donation

Background:
Given I am logged in as customer "Tom Foolery"
Given admin "has" allowed recurring donations
Given admin has allowed recurring donations
And I go to the quick donation page
Then I should see "frequency"
When I select monthly in the donation frequency radio button
Expand Down
2 changes: 1 addition & 1 deletion features/step_definitions/option_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
# Step defintions for testing the recurring donation feature user view
######

Given /admin "(.*)" allowed recurring donations/ do |value|
Given /admin (.*) allowed recurring donations/ do |value|
if value == 'has'
value = true
elsif value == 'has not'
Expand Down

0 comments on commit 24a6bd0

Please sign in to comment.