Skip to content
Snippets Groups Projects
Commit 908b37bc authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Updates test in order to look for link

parent e369455f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -76,7 +76,7 @@ feature 'Environments', feature: true do
given(:deployment) { create(:deployment, environment: environment, deployable: build) }
scenario 'does show an external link button' do
expect(page).to have_selector('.btn.external-url')
expect(page).to have_link(nil, href: environment.external_url)
end
end
end
Loading
Loading
@@ -147,9 +147,10 @@ feature 'Environments', feature: true do
given(:deployment) { create(:deployment, environment: environment, deployable: build) }
scenario 'does show an external link button' do
expect(page).to have_selector('.btn.external-url')
expect(page).to have_link(nil, href: environment.external_url)
end
end
end
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment