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
Tatuya Kamada
gitlab-ce
Commits
1c7eb963
Commit
1c7eb963
authored
Jan 19, 2017
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing build_spec
parent
8171a193
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
spec/models/ci/build_spec.rb
spec/models/ci/build_spec.rb
+10
-0
No files found.
spec/models/ci/build_spec.rb
View file @
1c7eb963
...
...
@@ -1401,4 +1401,14 @@ describe Ci::Build, :models do
it
{
is_expected
.
to
eq
(
%w[predefined project pipeline yaml secret]
)
}
end
end
describe
'State transition: any => [:pending]'
do
let
(
:build
)
{
create
(
:ci_build
,
:created
)
}
it
'queues BuildQueueWorker'
do
expect
(
BuildQueueWorker
).
to
receive
(
:perform_async
).
with
(
build
.
id
)
build
.
enqueue
end
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