Commit 2c95074a5faec5e5420bfbf87134f5956d427cd1

Authored by Robert Speicher
1 parent e5adca1b

Remove model specs that are covered by factories_spec

spec/models/event_spec.rb
... ... @@ -29,16 +29,6 @@ describe Event do
29 29 it { should respond_to(:commits) }
30 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 32 describe "Push event" do
43 33 before do
44 34 project = Factory :project
... ...
spec/models/wiki_spec.rb
... ... @@ -11,8 +11,6 @@ describe Wiki do
11 11 it { should validate_presence_of(:content) }
12 12 it { should validate_presence_of(:user_id) }
13 13 end
14   -
15   - it { Factory(:wiki).should be_valid }
16 14 end
17 15 # == Schema Information
18 16 #
... ...