features/step_definitions/steps.rb in sibit-0.24.0 vs features/step_definitions/steps.rb in sibit-0.25.0

- old
+ new

@@ -42,10 +42,10 @@ FileUtils.rm_rf(@dir) end Given(/^I have a "([^"]*)" file with content:$/) do |file, text| FileUtils.mkdir_p(File.dirname(file)) unless File.exist?(file) - File.write(file, text.gsub(/\\xFF/, 0xFF.chr)) + File.write(file, text.gsub('\\xFF', 0xFF.chr)) end When(%r{^I run bin/sibit with "([^"]*)"$}) do |arg| home = File.join(File.dirname(__FILE__), '../..') @stdout = `ruby -I#{home}/lib #{home}/bin/sibit #{arg}`