Bugfix: active_contexts wasn't actually working.

This commit is contained in:
Eric Allen 2008-09-21 09:30:25 -07:00
parent 2fda252378
commit 3006f73cb7
2 changed files with 2 additions and 2 deletions

View file

@ -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