diff options
author | Andre Arko <andre@arko.net> | 2015-07-18 16:42:16 -0600 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-07-18 16:44:56 -0600 |
commit | 14a7eb25ee03c9fb4ecf3e4c6b1f44a8267a413a (patch) | |
tree | 080c4590629671f0bf0fc23225b9b4b5e5e16e95 /spec/bundler/gem_helper_spec.rb | |
parent | 6537566d7179d3aee3451ece710cbe79ced95d4c (diff) | |
download | bundler-14a7eb25ee03c9fb4ecf3e4c6b1f44a8267a413a.tar.gz |
Fix Style/SpaceInsideBlockBraces
closes #3850
Diffstat (limited to 'spec/bundler/gem_helper_spec.rb')
-rw-r--r-- | spec/bundler/gem_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/gem_helper_spec.rb b/spec/bundler/gem_helper_spec.rb index f46b0f0423..d90dd12ef9 100644 --- a/spec/bundler/gem_helper_spec.rb +++ b/spec/bundler/gem_helper_spec.rb @@ -76,7 +76,7 @@ describe Bundler::GemHelper do before(:each) do content = app_gemspec_content.gsub("TODO: ", "") content.sub!(/homepage\s+= ".*"/, 'homepage = ""') - File.open(app_gemspec_path, "w") { |file| file << content } + File.open(app_gemspec_path, "w") {|file| file << content } end def remove_push_guard(gemspec_content) @@ -138,7 +138,7 @@ describe Bundler::GemHelper do context "when build failed" do it "raises an error with appropriate message" do # break the gemspec by adding back the TODOs - File.open(app_gemspec_path, "w"){ |file| file << app_gemspec_content } + File.open(app_gemspec_path, "w"){|file| file << app_gemspec_content } expect { subject.build_gem }.to raise_error(/TODO/) end end |