summaryrefslogtreecommitdiff
path: root/spec/models/commit_range_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-22 14:41:00 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-22 14:41:00 -0400
commit94eff655693a504b8b5d10472257709d8a2b342b (patch)
tree6ac43313772ee1c1933ed5b5fa3eb59ec6d14f13 /spec/models/commit_range_spec.rb
parent56246b70fb4fcbbb6f623ba9a38ba428a85175ef (diff)
downloadgitlab-ce-94eff655693a504b8b5d10472257709d8a2b342b.tar.gz
Fix Style/SpaceInsideHashLiteralBraces cop violations
These fixes were performed automatically by Rubocop's `-a` flag.
Diffstat (limited to 'spec/models/commit_range_spec.rb')
-rw-r--r--spec/models/commit_range_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/commit_range_spec.rb b/spec/models/commit_range_spec.rb
index e7fb43ff335..5e7efadde28 100644
--- a/spec/models/commit_range_spec.rb
+++ b/spec/models/commit_range_spec.rb
@@ -60,11 +60,11 @@ describe CommitRange do
end
it 'includes the correct values for a three-dot range' do
- expect(range.to_param).to eq({from: sha_from, to: sha_to})
+ expect(range.to_param).to eq({ from: sha_from, to: sha_to })
end
it 'includes the correct values for a two-dot range' do
- expect(range2.to_param).to eq({from: sha_from + '^', to: sha_to})
+ expect(range2.to_param).to eq({ from: sha_from + '^', to: sha_to })
end
end