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
a4c9fb17
Commit
a4c9fb17
authored
Jul 31, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec
parent
cd4d8e57
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
spec/factories/ci/builds.rb
spec/factories/ci/builds.rb
+0
-1
spec/requests/api/triggers_spec.rb
spec/requests/api/triggers_spec.rb
+0
-14
No files found.
spec/factories/ci/builds.rb
View file @
a4c9fb17
...
...
@@ -12,7 +12,6 @@ FactoryGirl.define do
started_at
'Di 29. Okt 09:51:28 CET 2013'
finished_at
'Di 29. Okt 09:53:28 CET 2013'
commands
'ls -a'
token
'sample-token'
options
do
{
...
...
spec/requests/api/triggers_spec.rb
View file @
a4c9fb17
...
...
@@ -184,20 +184,6 @@ describe API::Triggers do
expect
(
json_response
[
'message'
]).
to
eq
(
'400 Job has to be running'
)
end
end
context
'when variables are defined'
do
let
(
:params
)
do
{
ref:
'refs/heads/other-branch'
,
variables:
{
'KEY'
=>
'VALUE'
}
}
end
it
'forbids to create a pipeline'
do
subject
expect
(
response
).
to
have_http_status
(
400
)
expect
(
json_response
[
'message'
]).
to
eq
(
'400 Variables not supported'
)
end
end
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