Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
6b14ecb6
Commit
6b14ecb6
authored
Apr 16, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update wording in rspec
parent
56e1e028
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/features/projects/pipelines/pipelines_spec.rb
spec/features/projects/pipelines/pipelines_spec.rb
+4
-4
No files found.
spec/features/projects/pipelines/pipelines_spec.rb
View file @
6b14ecb6
...
...
@@ -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
...
...
@@ -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'
)
}
...
...
@@ -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
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment