spec/cli/config_spec.rb in hanzo-0.4 vs spec/cli/config_spec.rb in hanzo-0.4.1

- old
+ new

@@ -32,11 +32,11 @@ before do Hanzo.should_receive(:title).with(fetch_environment_title) Hanzo.should_receive(:title).with(compare_environment_title) - Hanzo.should_receive(:run).with("#{config_cmd} -r #{environment_one_name}").and_return(environment_one) - Hanzo.should_receive(:run).with("#{config_cmd} -r #{environment_two_name}").and_return(environment_two) + Hanzo.should_receive(:run).with("#{config_cmd} -r #{environment_one_name}", true).and_return(environment_one) + Hanzo.should_receive(:run).with("#{config_cmd} -r #{environment_two_name}", true).and_return(environment_two) Hanzo.should_receive(:print).with("Missing variables in #{environment_one_name}", :yellow) Hanzo.should_receive(:print).with(['- SMTP_USERNAME']) Hanzo.should_receive(:print).with("Missing variables in #{environment_two_name}", :yellow) Hanzo.should_receive(:print).with(['- SMTP_PASSWORD', '- SMTP_HOST'])