Fix environment feature specs after changes in factory

This commit is contained in:
Grzegorz Bizon 2016-11-09 13:16:21 +01:00
parent f7ef7bea11
commit ae8a461d87
1 changed files with 3 additions and 1 deletions

View File

@ -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)