Remove wrong format: :json from status_messages_controller_spec

This was added by accident with the rails5 upgrade
This commit is contained in:
Benjamin Neff 2017-08-27 17:45:24 +02:00
parent e7cac2e466
commit 634c13f967
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -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