Commit 634c13f9 authored by Benjamin Neff's avatar Benjamin Neff

Remove wrong `format: :json` from status_messages_controller_spec

This was added by accident with the rails5 upgrade
parent e7cac2e4
......@@ -93,7 +93,7 @@ describe StatusMessagesController, :type => :controller do
post :create, params: status_message_hash, format: :json
expect(response.status).to eq(201)
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
it "takes one aspect as string in aspect_ids" do
......
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