Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorBenjamin Neff <benjamin@coding4coffee.ch>2017-08-27 18:45:24 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2017-08-29 03:01:43 +0300
commit634c13f967a329b3a186a14dee5c4983455e5cdf (patch)
treefb3712859bc7179e2261dcdb1b971f970b29c437 /spec
parente7cac2e4667ab6786fd67a8317c3ce78d7758ed4 (diff)
Remove wrong `format: :json` from status_messages_controller_spec
This was added by accident with the rails5 upgrade
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/status_messages_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/status_messages_controller_spec.rb b/spec/controllers/status_messages_controller_spec.rb
index 8b99c04c2..9ae3a76d2 100644
--- a/spec/controllers/status_messages_controller_spec.rb
+++ b/spec/controllers/status_messages_controller_spec.rb
@@ -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