summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-25 13:22:32 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-25 13:22:32 +0100
commit6438c288a89ad1e17893eded187eba2785035aa3 (patch)
tree918cf41e3e1e5058298f804dca526191df6f2e0d
parentab3d855c0e1869fd1986c3bcdf7519f6b1cf1fa8 (diff)
downloadgitlab-ce-6438c288a89ad1e17893eded187eba2785035aa3.tar.gz
Satisfy Rubocop
-rw-r--r--spec/models/concerns/issuable_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/concerns/issuable_spec.rb b/spec/models/concerns/issuable_spec.rb
index 901eb936688..f9d3c56750f 100644
--- a/spec/models/concerns/issuable_spec.rb
+++ b/spec/models/concerns/issuable_spec.rb
@@ -88,7 +88,7 @@ describe Issue, "Issuable" do
allow(issue).to receive(:assignee).and_return(nil)
expect(issue.card_attributes).
- to eq({'Author' => 'Robert', 'Assignee' => nil})
+ to eq({ 'Author' => 'Robert', 'Assignee' => nil })
end
it 'includes the assignee name' do
@@ -96,7 +96,7 @@ describe Issue, "Issuable" do
allow(issue).to receive(:assignee).and_return(double(name: 'Douwe'))
expect(issue.card_attributes).
- to eq({'Author' => 'Robert', 'Assignee' => 'Douwe'})
+ to eq({ 'Author' => 'Robert', 'Assignee' => 'Douwe' })
end
end
end