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
2c95074a
Commit
2c95074a
authored
Aug 29, 2012
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove model specs that are covered by factories_spec
parent
e5adca1b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
spec/models/event_spec.rb
spec/models/event_spec.rb
+0
-10
spec/models/wiki_spec.rb
spec/models/wiki_spec.rb
+0
-2
No files found.
spec/models/event_spec.rb
View file @
2c95074a
...
@@ -29,16 +29,6 @@ describe Event do
...
@@ -29,16 +29,6 @@ describe Event do
it
{
should
respond_to
(
:commits
)
}
it
{
should
respond_to
(
:commits
)
}
end
end
describe
"Creation"
do
before
do
@event
=
Factory
:event
end
it
"should create a valid event"
do
@event
.
should
be_valid
end
end
describe
"Push event"
do
describe
"Push event"
do
before
do
before
do
project
=
Factory
:project
project
=
Factory
:project
...
...
spec/models/wiki_spec.rb
View file @
2c95074a
...
@@ -11,8 +11,6 @@ describe Wiki do
...
@@ -11,8 +11,6 @@ describe Wiki do
it
{
should
validate_presence_of
(
:content
)
}
it
{
should
validate_presence_of
(
:content
)
}
it
{
should
validate_presence_of
(
:user_id
)
}
it
{
should
validate_presence_of
(
:user_id
)
}
end
end
it
{
Factory
(
:wiki
).
should
be_valid
}
end
end
# == Schema Information
# == Schema Information
#
#
...
...
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