Skip to content

Commit

Permalink
parenthesize ambiguous regex values in step definition
Browse files Browse the repository at this point in the history
  • Loading branch information
winsonwan committed Apr 28, 2024
1 parent c97438b commit 97d0a99
Showing 1 changed file with 1 addition and 1 deletion.
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 (has|has not) allowed recurring donations/ do |value|
if value == 'has'
value = true
elsif value == 'has not'
Expand Down

0 comments on commit 97d0a99

Please sign in to comment.