Add tests for Event. Remove redundant function 'def week' from Event.
This commit is contained in:
parent
af168f0f55
commit
81c82466f8
3 changed files with 213 additions and 9 deletions
7
spec/factories/votes.rb
Normal file
7
spec/factories/votes.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
FactoryGirl.define do
|
||||
factory :vote do
|
||||
event
|
||||
user
|
||||
rating 1
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue