diff options
author | Francesco Coda Zabetta <francesco.codazabetta@gmail.com> | 2016-11-14 18:05:39 +0300 |
---|---|---|
committer | Francesco Coda Zabetta <francesco.codazabetta@gmail.com> | 2016-11-14 18:05:39 +0300 |
commit | d5981dd44db4b36ad3d6b5005cd942bc295ace58 (patch) | |
tree | a250fc50575077d97976f6934ea876583d8ef0e1 /spec/requests/api/labels_spec.rb | |
parent | 471ef6cb2760717b917227ae545cc8ec8efa0aa2 (diff) |
fix style
Diffstat (limited to 'spec/requests/api/labels_spec.rb')
-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 39fe6e64653..9f0500bd443 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) |