This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

Commit 4840c682 authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Don't capitalize environment name in show page

Upate test to match the new behavior
parent 57a4e96be29c
......@@ -5,7 +5,7 @@
%div{ class: container_class }
.top-area.adjust
.col-md-9
%h3.page-title= @environment.name.capitalize
%h3.page-title= @environment.name
.col-md-3
.nav-controls
= render 'projects/environments/terminal_button', environment: @environment
......
---
title: Don't capitalize environment name in show page
merge_request:
author:
......@@ -19,6 +19,10 @@
visit_environment(environment)
end
scenario 'shows environment name' do
expect(page).to have_content(environment.name)
end
context 'without deployments' do
scenario 'does show no deployments' do
expect(page).to have_content('You don\'t have any deployments right now.')
......
......@@ -194,7 +194,7 @@
end
scenario 'does create a new pipeline' do
expect(page).to have_content('Production')
expect(page).to have_content('production')
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment