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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
2bad798e
Commit
2bad798e
authored
Apr 09, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed tests
parent
d98b1833
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
spec/models/issue_spec.rb
spec/models/issue_spec.rb
+1
-1
spec/requests/milestones_spec.rb
spec/requests/milestones_spec.rb
+2
-2
No files found.
spec/models/issue_spec.rb
View file @
2bad798e
...
...
@@ -23,7 +23,7 @@ describe Issue do
it
{
Factory
.
create
(
:issue
,
:author
=>
Factory
(
:user
),
:assignee
=>
Factory
(
:user
),
:projet
=>
Factory
.
create
(
:project
)).
should
be_valid
}
:proje
c
t
=>
Factory
.
create
(
:project
)).
should
be_valid
}
describe
"plus 1"
do
let
(
:project
)
{
Factory
(
:project
)
}
...
...
spec/requests/milestones_spec.rb
View file @
2bad798e
...
...
@@ -45,7 +45,7 @@ describe "Milestones" do
end
it
{
current_path
.
should
==
project_milestone_path
(
project
,
project
.
milestones
.
last
)
}
it
{
should
have_content
(
@milestone
.
title
[
0
..
10
])
}
it
{
should
have_content
(
@milestone
.
expires_at
)
}
it
{
page
.
should
have_content
(
project
.
milestones
.
last
.
title
[
0
..
10
])
}
it
{
page
.
should
have_content
(
project
.
milestones
.
last
.
expires_at
)
}
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