diff options
author | Francesco Coda Zabetta <francesco.codazabetta@gmail.com> | 2016-11-14 18:15:53 +0300 |
---|---|---|
committer | Francesco Coda Zabetta <francesco.codazabetta@gmail.com> | 2016-11-14 18:15:53 +0300 |
commit | c57c83336d8dc8b4cb82e51cd40b72795bdf01bf (patch) | |
tree | 71d1122879e5459fe1c19bc15c6618333882bd2b /spec | |
parent | d5981dd44db4b36ad3d6b5005cd942bc295ace58 (diff) |
fix style
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/api/labels_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/requests/api/labels_spec.rb b/spec/requests/api/labels_spec.rb index 9f0500bd443..64a99e42c28 100644 --- a/spec/requests/api/labels_spec.rb +++ b/spec/requests/api/labels_spec.rb @@ -33,9 +33,9 @@ describe API::API, api: true do expect(json_response.first.keys).to match_array expected_keys expect(json_response.map { |l| l['name'] }).to match_array([group_label.name, priority_label.name, label1.name]) - label1_response = json_response.select{ |l| l['name'] == label1.title }.first - group_label_response = json_response.select{ |l| l['name'] == group_label.title }.first - priority_label_response = json_response.select{ |l| l['name'] == priority_label.title }.first + label1_response = json_response.select { |l| l['name'] == label1.title }.first + group_label_response = json_response.select { |l| l['name'] == group_label.title }.first + priority_label_response = json_response.select { |l| l['name'] == priority_label.title }.first expect(label1_response['open_issues_count']).to eq(0) expect(label1_response['closed_issues_count']).to eq(1) |