Skip to content
Snippets Groups Projects
Unverified Commit 6b14ecb6 authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Update wording in rspec

parent 56e1e028
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -517,7 +517,7 @@ describe 'Pipelines', :js do
end
 
it 'creates a new pipeline' do
expect { click_on 'Create pipeline' }
expect { click_on 'Run pipeline' }
.to change { Ci::Pipeline.count }.by(1)
 
expect(Ci::Pipeline.last).to be_web
Loading
Loading
@@ -526,7 +526,7 @@ describe 'Pipelines', :js do
 
context 'without gitlab-ci.yml' do
before do
click_on 'Create pipeline'
click_on 'Run pipeline'
end
 
it { expect(page).to have_content('Missing .gitlab-ci.yml file') }
Loading
Loading
@@ -539,7 +539,7 @@ describe 'Pipelines', :js do
click_link 'master'
end
 
expect { click_on 'Create pipeline' }
expect { click_on 'Run pipeline' }
.to change { Ci::Pipeline.count }.by(1)
end
end
Loading
Loading
@@ -557,7 +557,7 @@ describe 'Pipelines', :js do
it 'has field to add a new pipeline' do
expect(page).to have_selector('.js-branch-select')
expect(find('.js-branch-select')).to have_content project.default_branch
expect(page).to have_content('Create for')
expect(page).to have_content('Run on')
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment