diff options
Diffstat (limited to 'spec/commands/newgem_spec.rb')
-rw-r--r-- | spec/commands/newgem_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/newgem_spec.rb b/spec/commands/newgem_spec.rb index e6483666..fafc9a5f 100644 --- a/spec/commands/newgem_spec.rb +++ b/spec/commands/newgem_spec.rb @@ -11,7 +11,7 @@ describe "bundle gem" do if Gem::Version.new(Gem::VERSION) < Gem::Version.new("2.0") path = "#{gem_name}/#{gem_name}.gemspec" content = File.read(path).sub(/raise "RubyGems 2\.0 or newer.*/, "") - File.open(path, "w"){|f| f.write(content) } + File.open(path, "w") {|f| f.write(content) } end end |