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
Jérome Perrin
gitlab-ce
Commits
9e7e2c6b
Commit
9e7e2c6b
authored
Mar 25, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small refactoring and rewording
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
b105b84e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
app/views/projects/_builds_settings.html.haml
app/views/projects/_builds_settings.html.haml
+1
-1
spec/models/repository_spec.rb
spec/models/repository_spec.rb
+1
-5
No files found.
app/views/projects/_builds_settings.html.haml
View file @
9e7e2c6b
...
...
@@ -5,7 +5,7 @@
-
unless
@repository
.
gitlab_ci_yml
.form-group
.col-sm-offset-2.col-sm-10
%p
B
efore you can use Builds (Continuous Integration) feature you need to setup it
.
%p
B
uilds need to be configured before you can begin using Continuous Integration
.
=
link_to
'Get started with Builds'
,
help_page_path
(
'ci/quick_start'
,
'README'
),
class:
'btn btn-info'
%hr
...
...
spec/models/repository_spec.rb
View file @
9e7e2c6b
...
...
@@ -2,6 +2,7 @@ require 'spec_helper'
describe
Repository
,
models:
true
do
include
RepoHelpers
TestBlob
=
Struct
.
new
(
:name
)
let
(
:repository
)
{
create
(
:project
).
repository
}
let
(
:user
)
{
create
(
:user
)
}
...
...
@@ -131,7 +132,6 @@ describe Repository, models: true do
describe
"#license"
do
before
do
repository
.
send
(
:cache
).
expire
(
:license
)
TestBlob
=
Struct
.
new
(
:name
)
end
it
'test selection preference'
do
...
...
@@ -149,10 +149,6 @@ describe Repository, models: true do
end
describe
"#gitlab_ci_yml"
do
before
do
TestBlob
=
Struct
.
new
(
:name
)
end
it
'returns valid file'
do
files
=
[
TestBlob
.
new
(
'file'
),
TestBlob
.
new
(
'.gitlab-ci.yml'
),
TestBlob
.
new
(
'copying'
)]
expect
(
repository
.
tree
).
to
receive
(
:blobs
).
and_return
(
files
)
...
...
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