mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-17 06:35:28 +01:00
Bugfix: active_contexts wasn't actually working.
This commit is contained in:
parent
2fda252378
commit
3006f73cb7
2 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ describe User do
|
|||
it 'has many active contexts' do
|
||||
User.should have_many(:active_contexts).
|
||||
with_order('position ASC').
|
||||
with_conditions('hide = ?', 'true').
|
||||
with_conditions('hide = ?', false).
|
||||
with_class_name('Context')
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue