controller specs are passing

This commit is contained in:
zhitomirskiyi 2011-03-29 13:55:01 -07:00
parent 8775ab9d69
commit 62a815f6d3
2 changed files with 2 additions and 3 deletions

View file

@ -46,7 +46,7 @@ describe ConversationsController do
:conversation => {
:subject => "secret stuff",
:text => 'text'},
:contact_ids => [@alice.contacts.first.id]
:as_values_contact_ids => [@alice.contacts.first.id]
}
end

View file

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