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 => {
|
:conversation => {
|
||||||
:subject => "secret stuff",
|
:subject => "secret stuff",
|
||||||
:text => 'text'},
|
:text => 'text'},
|
||||||
:contact_ids => [@alice.contacts.first.id]
|
:as_values_contact_ids => [@alice.contacts.first.id]
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,8 +46,7 @@ describe ProfilesController do
|
||||||
|
|
||||||
it 'sets tags' do
|
it 'sets tags' do
|
||||||
params = { :id => @user.person.id,
|
params = { :id => @user.person.id,
|
||||||
:profile =>
|
:as_values_tags => '#apples #oranges'}
|
||||||
{ :tag_string => '#apples #oranges'}}
|
|
||||||
|
|
||||||
put :update, params
|
put :update, params
|
||||||
@user.person(true).profile.tag_list.to_set.should == ['apples', 'oranges'].to_set
|
@user.person(true).profile.tag_list.to_set.should == ['apples', 'oranges'].to_set
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue