summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-06-13 22:47:51 +0100
committerFilipa Lacerda <filipa@gitlab.com>2017-06-13 22:56:10 +0100
commitfcaaf17600f8b30dc82314b7a199e09fb4cc66b6 (patch)
tree59c0935e4a56429de247d4ce8a5c2738c209b756
parent4f185a92440b28673ef65a1d193a91b4fe43f24f (diff)
downloadgitlab-ce-33639-whitespace.tar.gz
Fix broken spinach test33639-whitespace
-rw-r--r--app/assets/stylesheets/pages/builds.scss2
-rw-r--r--features/steps/project/builds/summary.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/builds.scss b/app/assets/stylesheets/pages/builds.scss
index ce44cf8f3fa..a33f5d5a5e4 100644
--- a/app/assets/stylesheets/pages/builds.scss
+++ b/app/assets/stylesheets/pages/builds.scss
@@ -52,7 +52,6 @@
color: $gray-darkest;
font-family: $monospace_font;
font-size: 12px;
- white-space: pre;
&.sidebar-expanded {
right: 305px;
@@ -151,6 +150,7 @@
overflow-y: scroll;
overflow-x: hidden;
padding: 10px 20px 20px 5px;
+ white-space: pre;
}
.environment-information {
diff --git a/features/steps/project/builds/summary.rb b/features/steps/project/builds/summary.rb
index fcc06456517..20a5c873ecd 100644
--- a/features/steps/project/builds/summary.rb
+++ b/features/steps/project/builds/summary.rb
@@ -18,7 +18,7 @@ class Spinach::Features::ProjectBuildsSummary < Spinach::FeatureSteps
end
step 'I click erase build button' do
- find('.js-erase-link').trigger('click')
+ click_link 'Erase'
end
step 'recent build has been erased' do