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
a8812dc1
Commit
a8812dc1
authored
Apr 21, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec.
parent
cd450221
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
features/steps/project/commits/commits.rb
features/steps/project/commits/commits.rb
+1
-1
No files found.
features/steps/project/commits/commits.rb
View file @
a8812dc1
...
@@ -18,7 +18,7 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps
...
@@ -18,7 +18,7 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps
step
'I see commits atom feed'
do
step
'I see commits atom feed'
do
commit
=
@project
.
repository
.
commit
commit
=
@project
.
repository
.
commit
response_headers
[
'Content-Type'
].
should
have_content
(
"application/atom+xml"
)
response_headers
[
'Content-Type'
].
should
have_content
(
"application/atom+xml"
)
body
.
should
have_selector
(
"title"
,
text:
"
Recent commits to
#{
@project
.
name
}
"
)
body
.
should
have_selector
(
"title"
,
text:
"
#{
@project
.
name
}
:master commits
"
)
body
.
should
have_selector
(
"author email"
,
text:
commit
.
author_email
)
body
.
should
have_selector
(
"author email"
,
text:
commit
.
author_email
)
body
.
should
have_selector
(
"entry summary"
,
text:
commit
.
description
[
0
..
10
])
body
.
should
have_selector
(
"entry summary"
,
text:
commit
.
description
[
0
..
10
])
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