diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-08-24 13:31:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 13:31:55 +0200 |
commit | c66fe2aeba84af5ab47c20298ddc8dceaf0e179f (patch) | |
tree | 2a07c5345ab567cc1409639874f15ccf8982118a /spec/controllers/api | |
parent | fbe1115114edb2d46c05b5065398b7234b9fb6a0 (diff) |
Minor performance improvement for test suite (#4678)
Diffstat (limited to 'spec/controllers/api')
-rw-r--r-- | spec/controllers/api/v1/accounts/relationships_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/api/v1/accounts/relationships_controller_spec.rb b/spec/controllers/api/v1/accounts/relationships_controller_spec.rb index 3a9607317..a9073b197 100644 --- a/spec/controllers/api/v1/accounts/relationships_controller_spec.rb +++ b/spec/controllers/api/v1/accounts/relationships_controller_spec.rb @@ -50,14 +50,14 @@ describe Api::V1::Accounts::RelationshipsController do json = body_as_json expect(json).to be_a Enumerable - expect(json.first[:id]).to be simon.id + expect(json.first[:id]).to eq simon.id expect(json.first[:following]).to be true expect(json.first[:followed_by]).to be false expect(json.first[:muting]).to be false expect(json.first[:requested]).to be false expect(json.first[:domain_blocking]).to be false - expect(json.second[:id]).to be lewis.id + expect(json.second[:id]).to eq lewis.id expect(json.second[:following]).to be false expect(json.second[:followed_by]).to be true expect(json.second[:muting]).to be false |