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

- old
+ new

@@ -26,12 +26,10 @@ end let(:manifest_file) { "/abc/manifest.yml" } before do - cmd.stub(:target_base) { target_base } - cmd.stub(:manifest) { manifest } cmd.stub(:manifest_file) { manifest_file } end describe "#find_apps" do @@ -75,10 +73,10 @@ its(["name"]) { should eq app.name } its(["memory"]) { should eq "2G" } its(["instances"]) { should eq 2 } its(["path"]) { should eq "some-path" } its(["host"]) { should eq "some-app-name" } - its(["domain"]) { should eq "${target-base}" } + its(["domain"]) { should eq app.domain } 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