Fix environment feature specs after changes in factory
This commit is contained in:
parent
f7ef7bea11
commit
ae8a461d87
|
@ -152,7 +152,9 @@ feature 'Environments', feature: true do
|
|||
end
|
||||
|
||||
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
|
||||
expect(page).to have_link(deployment.short_sha)
|
||||
|
|
Loading…
Reference in New Issue