Commit ae8a461d authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix environment feature specs after changes in factory

parent f7ef7bea
...@@ -152,7 +152,9 @@ feature 'Environments', feature: true do ...@@ -152,7 +152,9 @@ feature 'Environments', feature: true do
end end
context 'with deployments' do context 'with deployments' do
given(:deployment) { create(:deployment, environment: environment) } given(:deployment) do
create(:deployment, environment: environment, deployable: nil)
end
scenario 'does show deployment SHA' do scenario 'does show deployment SHA' do
expect(page).to have_link(deployment.short_sha) expect(page).to have_link(deployment.short_sha)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment