Fix ProfilesController#update spec for tags.

This commit is contained in:
James Fleming 2013-07-08 10:43:19 +02:00 committed by Jonne Haß
parent 94e9fc5ac4
commit e8db2804cb

View file

@ -71,7 +71,8 @@ describe ProfilesController do
it 'sets tags' do
params = { :id => eve.person.id,
:tags => '#apples #oranges'}
:tags => '#apples #oranges',
:profile => {:tag_string => ''} }
put :update, params
eve.person(true).profile.tag_list.to_set.should == ['apples', 'oranges'].to_set