mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 13:46:11 +10:00
Remove model specs that are covered by factories_spec
This commit is contained in:
@@ -29,16 +29,6 @@ describe Event do
|
||||
it { should respond_to(:commits) }
|
||||
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
|
||||
before do
|
||||
project = Factory :project
|
||||
|
||||
@@ -11,8 +11,6 @@ describe Wiki do
|
||||
it { should validate_presence_of(:content) }
|
||||
it { should validate_presence_of(:user_id) }
|
||||
end
|
||||
|
||||
it { Factory(:wiki).should be_valid }
|
||||
end
|
||||
# == Schema Information
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user