Test running before visit_path in tests
@@ -86,6 +86,8 @@ describe 'CF ASP.NET Core Buildpack' do
let(:app_name) { 'dotnet2' }
it 'displays a simple text homepage' do
+ expect(app).to be_running
+
browser.visit_path('/')
expect(browser).to have_body('Hello From Dotnet 2.0')
end
@@ -95,6 +97,8 @@ describe 'CF ASP.NET Core Buildpack' do
let(:app_name) { 'dotnet2_with_global_json' }
it 'displays a simple text homepage' do
+ expect(app).to be_running
+
browser.visit_path('/')
expect(browser).to have_body('Hello From Dotnet 2.0')
end
