diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-22 14:41:00 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-22 14:41:00 -0400 |
commit | 94eff655693a504b8b5d10472257709d8a2b342b (patch) | |
tree | 6ac43313772ee1c1933ed5b5fa3eb59ec6d14f13 /spec/lib/gitlab/asciidoc_spec.rb | |
parent | 56246b70fb4fcbbb6f623ba9a38ba428a85175ef (diff) | |
download | gitlab-ce-94eff655693a504b8b5d10472257709d8a2b342b.tar.gz |
Fix Style/SpaceInsideHashLiteralBraces cop violations
These fixes were performed automatically by Rubocop's `-a` flag.
Diffstat (limited to 'spec/lib/gitlab/asciidoc_spec.rb')
-rw-r--r-- | spec/lib/gitlab/asciidoc_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/asciidoc_spec.rb b/spec/lib/gitlab/asciidoc_spec.rb index 23f83339ec5..3fd0267bb76 100644 --- a/spec/lib/gitlab/asciidoc_spec.rb +++ b/spec/lib/gitlab/asciidoc_spec.rb @@ -22,7 +22,7 @@ module Gitlab context "with asciidoc_opts" do - let(:asciidoc_opts) { {safe: :safe, attributes: ['foo']} } + let(:asciidoc_opts) { { safe: :safe, attributes: ['foo'] } } it "should merge the options with default ones" do expected_asciidoc_opts = { safe: :safe, backend: :html5, @@ -38,7 +38,7 @@ module Gitlab context "with project in context" do - let(:context) { {project: create(:project)} } + let(:context) { { project: create(:project) } } it "should filter converted input via HTML pipeline and return result" do filtered_html = '<b>ASCII</b>' |