spec/support/fake_heroku.rb in suspenders-1.35.0 vs spec/support/fake_heroku.rb in suspenders-1.36.0
- old
+ new
@@ -42,10 +42,10 @@
commands_ran =~ /^config:add #{var}=.+ --remote #{remote_name}\n/
end
def self.has_setup_pipeline_for?(app_name)
commands_ran =~ /^pipelines:create #{app_name} -a #{app_name}-staging --stage staging/ &&
- commands_ran =~ /^pipelines:create #{app_name} -a #{app_name}-production --stage production/
+ commands_ran =~ /^pipelines:add #{app_name} -a #{app_name}-production --stage production/
end
def self.commands_ran
@commands_ran ||= File.read(RECORDER)
end