features/step_definitions/reddit_steps.rb in usaidwat-1.1.1 vs features/step_definitions/reddit_steps.rb in usaidwat-1.2.0
- old
+ new
@@ -1,5 +1,5 @@
-Given /^the Reddit service returns comments for the user "(.*?)"$/ do |user|
+Given /^the Reddit service returns [^\s]+ for the user "(.*?)"$/ do |user|
set_environment_variable 'USAIDWAT_ENV', 'cucumber'
end
Given /^the Reddit service does not have a user "(.*?)"$/ do |user|
set_environment_variable 'USAIDWAT_ENV', 'cucumber'