mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-04 12:00:16 +01:00
Removed user specs relating to users in taggings table. User removed from taggings in migration 045.
This commit is contained in:
parent
99c3aecc04
commit
330c142172
1 changed files with 0 additions and 8 deletions
|
|
@ -68,14 +68,6 @@ describe User do
|
||||||
with_dependent(:delete_all)
|
with_dependent(:delete_all)
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'has many taggings' do
|
|
||||||
User.should have_many(:taggings)
|
|
||||||
end
|
|
||||||
|
|
||||||
it 'has many tags through taggings' do
|
|
||||||
User.should have_many(:tags).through(:taggings).with_select('DISTINCT tags.*')
|
|
||||||
end
|
|
||||||
|
|
||||||
it 'has one preference' do
|
it 'has one preference' do
|
||||||
User.should have_one(:preference)
|
User.should have_one(:preference)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue