Commit 2c95074a5faec5e5420bfbf87134f5956d427cd1
1 parent
e5adca1b
Exists in
master
and in
4 other branches
Remove model specs that are covered by factories_spec
Showing
2 changed files
with
0 additions
and
12 deletions
Show diff stats
spec/models/event_spec.rb
@@ -29,16 +29,6 @@ describe Event do | @@ -29,16 +29,6 @@ describe Event do | ||
29 | it { should respond_to(:commits) } | 29 | it { should respond_to(:commits) } |
30 | end | 30 | end |
31 | 31 | ||
32 | - describe "Creation" do | ||
33 | - before do | ||
34 | - @event = Factory :event | ||
35 | - end | ||
36 | - | ||
37 | - it "should create a valid event" do | ||
38 | - @event.should be_valid | ||
39 | - end | ||
40 | - end | ||
41 | - | ||
42 | describe "Push event" do | 32 | describe "Push event" do |
43 | before do | 33 | before do |
44 | project = Factory :project | 34 | project = Factory :project |
spec/models/wiki_spec.rb
@@ -11,8 +11,6 @@ describe Wiki do | @@ -11,8 +11,6 @@ describe Wiki do | ||
11 | it { should validate_presence_of(:content) } | 11 | it { should validate_presence_of(:content) } |
12 | it { should validate_presence_of(:user_id) } | 12 | it { should validate_presence_of(:user_id) } |
13 | end | 13 | end |
14 | - | ||
15 | - it { Factory(:wiki).should be_valid } | ||
16 | end | 14 | end |
17 | # == Schema Information | 15 | # == Schema Information |
18 | # | 16 | # |