spec/spec_helper.rb in mspire-0.8.3 vs spec/spec_helper.rb in mspire-0.8.4
- old
+ new
@@ -43,9 +43,10 @@
File.unlink(filename) if delete
end
def sanitize_mspire_version_xml(string)
string.gsub(/"mspire(_[\d\.]+)?" version="([\.\d]+)"/, %Q{"mspire" version="X.X.X"})
+ .gsub(/softwareRef="mspire_[\d\.]+/, 'softwareRef="mspire_X.X.X')
end
require 'stringio'
module Kernel