diff options
author | Andre Arko <andre@arko.net> | 2015-07-18 16:44:14 -0600 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-07-18 16:45:36 -0600 |
commit | 0f8bc78180ce4f8bae5dc48e2078b44cd4fafe44 (patch) | |
tree | c175c911a748afd50c0045038499a5a349fec135 /spec/bundler/gem_helper_spec.rb | |
parent | 14a7eb25ee03c9fb4ecf3e4c6b1f44a8267a413a (diff) | |
download | bundler-0f8bc78180ce4f8bae5dc48e2078b44cd4fafe44.tar.gz |
Fix Style/SpaceInsideBlockBraces
closes #3853
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 d90dd12ef9..e1496f47fe 100644 --- a/spec/bundler/gem_helper_spec.rb +++ b/spec/bundler/gem_helper_spec.rb @@ -33,7 +33,7 @@ describe Bundler::GemHelper do if Gem::Version.new(Gem::VERSION) < Gem::Version.new("2.0") content = File.read(app_gemspec_path) content.sub!(/raise "RubyGems 2\.0 or newer.*/, "") - File.open(app_gemspec_path, "w"){|f| f.write(content) } + File.open(app_gemspec_path, "w") {|f| f.write(content) } end end @@ -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 |