Commit 457cf2aa authored by Steffen van Bergerem's avatar Steffen van Bergerem Committed by Benjamin Neff
Browse files

Fix deprecation warnings in conversations controller spec

closes #7187
parent 7cd22328
......@@ -131,7 +131,7 @@ describe ConversationsController, :type => :controller do
@hash = {
format: :js,
conversation: {subject: "secret stuff", text: "text debug"},
person_ids: [alice.contacts.first.person.id]
person_ids: alice.contacts.first.person.id.to_s
}
end
......@@ -170,7 +170,7 @@ describe ConversationsController, :type => :controller do
@hash = {
format: :js,
conversation: {subject: " ", text: "text debug"},
person_ids: [alice.contacts.first.person.id]
person_ids: alice.contacts.first.person.id.to_s
}
end
......@@ -194,7 +194,7 @@ describe ConversationsController, :type => :controller do
@hash = {
format: :js,
conversation: {subject: "secret stuff", text: " "},
person_ids: [alice.contacts.first.person.id]
person_ids: alice.contacts.first.person.id.to_s
}
end
......@@ -283,7 +283,7 @@ describe ConversationsController, :type => :controller do
@hash = {
format: :js,
conversation: {subject: "secret stuff", text: "text debug"},
person_ids: [@person1.id, @person2.id, @person3.id]
person_ids: [@person1.id, @person2.id, @person3.id].join(",")
}
end
......@@ -317,7 +317,7 @@ describe ConversationsController, :type => :controller do
@hash = {
format: :js,
conversation: {subject: "secret stuff", text: "text debug"},
contact_ids: [alice.contacts.first.id]
contact_ids: alice.contacts.first.id.to_s
}
end
......@@ -356,7 +356,7 @@ describe ConversationsController, :type => :controller do
@hash = {
format: :js,
conversation: {subject: " ", text: "text debug"},
contact_ids: [alice.contacts.first.id]
contact_ids: alice.contacts.first.id.to_s
}
end
......@@ -380,7 +380,7 @@ describe ConversationsController, :type => :controller do
@hash = {
format: :js,
conversation: {subject: "secret stuff", text: " "},
contact_ids: [alice.contacts.first.id]
contact_ids: alice.contacts.first.id.to_s
}
end
......@@ -466,7 +466,7 @@ describe ConversationsController, :type => :controller do
@hash = {
format: :js,
conversation: {subject: "secret stuff", text: "text debug"},
person_ids: [@contact1.id, @contact2.id]
person_ids: [@contact1.id, @contact2.id].join(",")
}
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment