Permalink
Browse files

Use new machete app page body matchers

  • Loading branch information...
1 parent 70b9c2d commit a28789645a8126792a8aed89ce6d2c83a304a5c3 Aaron Triantafyllidis committed Jul 2, 2014
Showing with 4 additions and 5 deletions.
  1. +1 −1 cf.Gemfile.lock
  2. +3 −4 cf_spec/integration/deploy_a_python_app_spec.rb
View
@@ -1,6 +1,6 @@
GIT
remote: git://github.com/cf-buildpacks/machete.git
- revision: c27640fdfe641e2ec0de0c0d96d51cc11f43fdae
+ revision: dc7b343820e1ec6acd3a813bad683de56546f022
branch: master
specs:
machete (0.0.1)
@@ -11,7 +11,7 @@
specify do
expect(app).to be_running
- expect(app.homepage_body).to include 'Hello, World!'
+ expect(app).to have_page_body('Hello, World!')
expect(app.host).not_to have_internet_traffic
end
end
@@ -36,7 +36,7 @@
specify do
expect(app).to be_running
- expect(app.homepage_body).to include 'Hello, World!'
+ expect(app).to have_page_body('Hello, World!')
end
end
@@ -45,10 +45,9 @@
specify do
expect(app).to be_running
- expect(app.homepage_body).to include 'Hello, World!'
+ expect(app).to have_page_body('Hello, World!')
end
end
end
end
-
end

0 comments on commit a287896

Please sign in to comment.