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
iv
gitlab-ce
Commits
4fcd89fe
Commit
4fcd89fe
authored
Apr 10, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed random failing test
parent
e2305519
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
features/project/commits/commit_diff_comments.feature
features/project/commits/commit_diff_comments.feature
+0
-7
spec/models/project_spec.rb
spec/models/project_spec.rb
+1
-1
No files found.
features/project/commits/commit_diff_comments.feature
View file @
4fcd89fe
...
@@ -83,10 +83,3 @@ Feature: Comments on commit diffs
...
@@ -83,10 +83,3 @@ Feature: Comments on commit diffs
And
I submit the diff comment
And
I submit the diff comment
Then
I should not see the diff comment form
Then
I should not see the diff comment form
And
I should see a discussion reply button
And
I should see a discussion reply button
#@wip @javascript
#Scenario: I can delete a discussion comment
# Given I leave a diff comment like "Typo, please fix"
# And I delete a diff comment
# Then I should not see a diff comment saying "Typo, please fix"
spec/models/project_spec.rb
View file @
4fcd89fe
...
@@ -110,7 +110,7 @@ describe Project do
...
@@ -110,7 +110,7 @@ describe Project do
describe
'last_activity_date'
do
describe
'last_activity_date'
do
it
'returns the creation date of the project\'s last event if present'
do
it
'returns the creation date of the project\'s last event if present'
do
last_activity_event
=
create
(
:event
,
project:
project
)
last_activity_event
=
create
(
:event
,
project:
project
)
project
.
last_activity_
date
.
to_s
(
:db
).
should
==
last_event
.
created_at
.
to_s
(
:db
)
project
.
last_activity_
at
.
to_i
.
should
==
last_event
.
created_at
.
to_i
end
end
it
'returns the project\'s last update date if it has no events'
do
it
'returns the project\'s last update date if it has no events'
do
...
...
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