spec/lib/spec_generator_spec.rb in gjp-0.36.0 vs spec/lib/spec_generator_spec.rb in gjp-0.37.0

- old
+ new

@@ -1,8 +1,8 @@ # encoding: UTF-8 -require 'spec_helper' +require "spec_helper" describe Gjp::SpecGenerator do before(:each) do @project_path = File.join("spec", "data", "test-project") Dir.mkdir(@project_path) @@ -66,10 +66,10 @@ File.open(test_file, "w") { |io| io.puts "changed kit content test file" } spec_path = File.join("output", "test-project-kit", "test-project-kit.spec") spec_contents = File.read spec_path - spec_contents.gsub! /^Version:.*$/, "CONFLICTING!" + spec_contents.gsub!(/^Version:.*$/, "CONFLICTING!") File.open(spec_path, "w+") do |io| io.write(spec_contents) end end