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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
be24f5d5
Commit
be24f5d5
authored
Oct 04, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds `:js` flag in used quota specs
parent
597f850c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ee/spec/features/projects/jobs_spec.rb
ee/spec/features/projects/jobs_spec.rb
+2
-1
No files found.
ee/spec/features/projects/jobs_spec.rb
View file @
be24f5d5
...
...
@@ -13,13 +13,14 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do
sign_in
(
user
)
end
describe
"GET /:project/jobs/:id"
do
describe
"GET /:project/jobs/:id"
,
:js
do
context
'job project is over shared runners limit'
do
let
(
:group
)
{
create
(
:group
,
:with_used_build_minutes_limit
)
}
let
(
:project
)
{
create
(
:project
,
:repository
,
namespace:
group
,
shared_runners_enabled:
true
)
}
it
'displays a warning message'
do
visit
project_job_path
(
project
,
job
)
wait_for_requests
expect
(
page
).
to
have_content
(
'You have used all your shared Runners pipeline minutes.'
)
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