summaryrefslogtreecommitdiff
path: root/spec/views
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-17 00:23:05 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-17 00:23:05 +0100
commitd6e00f5373e24deaa7f143f5445ae9461ef5f615 (patch)
tree59d784dd10d349d54fda8924d00a79946bf1bfdb /spec/views
parent2b8292cd49dbc68b02f46f865b7115191bf2de07 (diff)
downloadgitlab-ce-d6e00f5373e24deaa7f143f5445ae9461ef5f615.tar.gz
Improve specs and add missing cases that were not supported
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/projects/builds/show.html.haml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/projects/builds/show.html.haml_spec.rb b/spec/views/projects/builds/show.html.haml_spec.rb
index fa4d66bb6cb..3b9a9c95daa 100644
--- a/spec/views/projects/builds/show.html.haml_spec.rb
+++ b/spec/views/projects/builds/show.html.haml_spec.rb
@@ -54,7 +54,7 @@ describe 'projects/builds/show', :view do
it 'shows deployment message' do
expected_text = 'This build is an out-of-date deployment ' \
- "to staging. View the most recent deployment ##{first_deployment.id}"
+ "to staging.\nView the most recent deployment ##{second_deployment.id}."
render
expect(rendered).to have_css('.environment-information', text: expected_text)