spec/cf/cli/app/start_spec.rb in cf-4.2.10.rc1 vs spec/cf/cli/app/start_spec.rb in cf-4.2.10.rc2
- old
+ new
@@ -233,10 +233,10 @@
context "and the mode is given as 'none'" do
let(:app) { build(:app, :debug => "in_debug") }
let(:mode) { "none" }
it "removes the debug mode" do
- expect { execute_start_app_with_mode }.to change { app.debug }.from("in_debug").to(nil)
+ expect { execute_start_app_with_mode }.to change { app.debug }.from("in_debug").to("none")
end
end
context "and an empty mode is given" do
let(:mode) { "" }