Skip to content

Commit

Permalink
Fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
phawk committed Oct 22, 2015
1 parent ac93c20 commit 41a1a2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/models/attachment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
it { should belong_to(:story) }
it { should belong_to(:owner) }

it { should validate_presence_of(:owner_id) }
it { should validate_presence_of(:owner) }
it { should validate_presence_of(:file_name) }
it { should validate_presence_of(:file_path) }

it "must be valid" do
expect(attachment).to be_valid
Expand Down

0 comments on commit 41a1a2b

Please sign in to comment.