Skip to content

Commit

Permalink
fix test referencing incorrect names for stacks
Browse files Browse the repository at this point in the history
  • Loading branch information
jtarchie committed Mar 18, 2015
1 parent af13de1 commit e632ce5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,24 @@
Machete::CF::DeleteApp.new.execute(app)
end

context 'deploying a basic PHP app on a lucid64 rootfs', if: ENV['CF_STACK'] == 'lucid' do
context 'deploying a basic PHP app on a lucid64 rootfs', if: ENV['CF_STACK'] == 'lucid64' do
let(:app_name) { 'php_app' }

specify do
expect(app).to be_running

expect(app).to have_logged 'lucid'
expect(app).to_not have_logged 'trusty'
end
end

context 'deploying a basic PHP app on a cflinuxfs2 rootfs', if: ENV['CF_STACK'] == 'trusty' do
context 'deploying a basic PHP app on a cflinuxfs2 rootfs', if: ENV['CF_STACK'] == 'cflinuxfs2' do
let(:app_name) { 'php_app' }

specify do
expect(app).to be_running

expect(app).to_not have_logged 'lucid'
expect(app).to have_logged 'trusty'
end
end
Expand Down

0 comments on commit e632ce5

Please sign in to comment.