Skip to content

Commit

Permalink
Add vote spec
Browse files Browse the repository at this point in the history
  • Loading branch information
elpotatoslayer committed Apr 12, 2021
1 parent 8347427 commit bf22f84
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/models/vote_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require 'rails_helper'

RSpec.describe Vote, type: :model do
context 'Associations' do
it { should belong_to(:user) }
it { should belong_to(:article) }
end
end

0 comments on commit bf22f84

Please sign in to comment.