BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
e982a951
Commit
e982a951
authored
Jan 22, 2013
by
Valeriy Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests
parent
745c0dfa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
issue_spec.rb
spec/models/issue_spec.rb
+0
-4
snippet_spec.rb
spec/models/snippet_spec.rb
+0
-1
No files found.
spec/models/issue_spec.rb
View file @
e982a951
...
...
@@ -28,10 +28,6 @@ describe Issue do
it
{
should_not
allow_mass_assignment_of
(
:project_id
)
}
end
describe
"Validation"
do
it
{
should
ensure_length_of
(
:description
).
is_within
(
0
..
10000
)
}
end
describe
'modules'
do
it
{
should
include_module
(
Issuable
)
}
end
...
...
spec/models/snippet_spec.rb
View file @
e982a951
...
...
@@ -38,6 +38,5 @@ describe Snippet do
it
{
should
ensure_length_of
(
:title
).
is_within
(
0
..
255
)
}
it
{
should
validate_presence_of
(
:content
)
}
it
{
should
ensure_length_of
(
:content
).
is_within
(
0
..
10_000
)
}
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