spec/foreman/cli_spec.rb in foreman-0.6.0 vs spec/foreman/cli_spec.rb in foreman-0.7.0

- old
+ new

@@ -17,11 +17,11 @@ describe "with a Procfile" do before(:each) { write_procfile } it "runs successfully" do dont_allow(subject).error - mock.instance_of(Foreman::Engine).start + mock.instance_of(Foreman::Engine).start({}) subject.start end end end @@ -49,13 +49,10 @@ describe "with a valid config" do before(:each) { write_foreman_config("testapp") } it "runs successfully" do dont_allow(subject).error - mock.instance_of(Foreman::Export::Upstart).export("/tmp/foo", { - :concurrency => nil, - :name => nil - }) + mock.instance_of(Foreman::Export::Upstart).export("/tmp/foo", {}) subject.export("upstart", "/tmp/foo") end end end end