Remove wrong format: :json from status_messages_controller_spec
This was added by accident with the rails5 upgrade
This commit is contained in:
parent
e7cac2e466
commit
634c13f967
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ describe StatusMessagesController, :type => :controller do
|
||||||
post :create, params: status_message_hash, format: :json
|
post :create, params: status_message_hash, format: :json
|
||||||
expect(response.status).to eq(201)
|
expect(response.status).to eq(201)
|
||||||
status_message = StatusMessage.find_by_text(text)
|
status_message = StatusMessage.find_by_text(text)
|
||||||
expect(status_message.aspect_visibilities.map(&:aspect)).to eq([@aspect1]), format: :json
|
expect(status_message.aspect_visibilities.map(&:aspect)).to eq([@aspect1])
|
||||||
end
|
end
|
||||||
|
|
||||||
it "takes one aspect as string in aspect_ids" do
|
it "takes one aspect as string in aspect_ids" do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue