summaryrefslogtreecommitdiff
path: root/spec/features/environments_spec.rb
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-11-15 12:07:11 +0000
committerFilipa Lacerda <filipa@gitlab.com>2016-11-16 11:58:21 +0000
commited07264532cac11b1f7cc4c68627cb7bfb7e41fc (patch)
tree8322c45cfcad24d2e77d130923896504ca1544ae /spec/features/environments_spec.rb
parentbebbf12a085b09caeaea98e7247d460364a6cfef (diff)
downloadgitlab-ce-ed07264532cac11b1f7cc4c68627cb7bfb7e41fc.tar.gz
Adds props validation
Improves documentation Adds tests Fix prop validation for objects Finish tests for environment item Adds tests for toggle folder function Environment tests Adds tests
Diffstat (limited to 'spec/features/environments_spec.rb')
-rw-r--r--spec/features/environments_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/environments_spec.rb b/spec/features/environments_spec.rb
index b565586ee14..f36a895a037 100644
--- a/spec/features/environments_spec.rb
+++ b/spec/features/environments_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-feature 'Environments', feature: true do
+feature 'Environments', feature: true, js:true do
given(:project) { create(:empty_project) }
given(:user) { create(:user) }
given(:role) { :developer }
@@ -59,6 +59,7 @@ feature 'Environments', feature: true do
given(:deployment) { create(:deployment, environment: environment) }
scenario 'does show deployment SHA' do
+ puts page.body
expect(page).to have_link(deployment.short_sha)
end