spec/foreman/cli_spec.rb in foreman-0.82.0 vs spec/foreman/cli_spec.rb in foreman-0.83.0
- old
+ new
@@ -19,10 +19,10 @@
describe "start" do
describe "when a Procfile doesnt exist", :fakefs do
it "displays an error" do
mock_error(subject, "Procfile does not exist.") do
- dont_allow.instance_of(Foreman::Engine).start
+ expect_any_instance_of(Foreman::Engine).to_not receive(:start)
subject.start
end
end
end