controller specs are passing
This commit is contained in:
parent
8775ab9d69
commit
62a815f6d3
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue