Fix ProfilesController#update spec for tags.
This commit is contained in:
parent
94e9fc5ac4
commit
e8db2804cb
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue