spec/cf/cli/space/create_spec.rb in cf-4.2.1 vs spec/cf/cli/space/create_spec.rb in cf-4.2.2.rc1
- old
+ new
@@ -54,10 +54,10 @@
context "when --target is NOT given" do
subject { cf %W[create-space #{new_space.name}] }
it "tells the user how they can switch to the new space" do
subject
- expect(output).to say("Space created! Use `cf switch-space #{new_space.name}` to target it.")
+ expect(output).to say("Space created!\n\ncf switch-space #{new_space.name} # targets new space")
end
end
end
end
end