Tests update
This commit is contained in:
parent
85a5e42576
commit
c207b9e051
|
@ -18,8 +18,9 @@
|
|||
%br
|
||||
= succeed "." do
|
||||
= link_to "Read more about environments", help_page_path("ci", "environments")
|
||||
= link_to new_namespace_project_environment_path(@project.namespace, @project), class: 'btn btn-create' do
|
||||
New environment
|
||||
- if can?(current_user, :create_environment, @project)
|
||||
= link_to new_namespace_project_environment_path(@project.namespace, @project), class: 'btn btn-create' do
|
||||
New environment
|
||||
- else
|
||||
.table-holder
|
||||
%table.table.environments
|
||||
|
|
|
@ -33,7 +33,7 @@ feature 'Environments', feature: true do
|
|||
|
||||
context 'without deployments' do
|
||||
scenario 'does show no deployments' do
|
||||
expect(page).to have_content('You don\'t have any deployments right now.')
|
||||
expect(page).to have_content('No deployments yet')
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -108,7 +108,7 @@ feature 'Environments', feature: true do
|
|||
end
|
||||
|
||||
scenario 'does create a new pipeline' do
|
||||
expect(page).to have_content('production')
|
||||
expect(page).to have_content('Production')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue