spec/manifests/manifests_spec.rb in cf-3.0.1.rc1 vs spec/manifests/manifests_spec.rb in cf-3.1.0.rc1

- old
+ new

@@ -74,11 +74,13 @@ its(["name"]) { should eq app.name } its(["memory"]) { should eq "2G" } its(["instances"]) { should eq 2 } its(["path"]) { should eq "some-path" } - its(["url"]) { should eq "some-app-name.${target-base}" } + #its(["url"]) { should eq "some-app-name.${target-base}" } + its(["host"]) { should eq "some-app-name" } + its(["domain"]) { should eq "${target-base}" } its(["command"]) { should eq "ruby main.rb" } its(["buildpack"]) { should eq "git://example.com/foo.git" } it "contains the service information" do expect(subject["services"]).to be_a Hash @@ -112,10 +114,11 @@ :total_instances => 2, :routes => [], :service_bindings => [] } - its(["url"]) { should eq "none" } + its(["host"]) { should eq "none" } + its(["domain"]) { should eq "none" } it { should_not include "command" } it { should_not include "services" } end end