cucumber tests now read version from VERSION rather than having it hard coded in

This commit is contained in:
Joe Thornber 2013-06-25 11:10:19 +01:00
parent da2fd75853
commit f0edd3ae6e

View File

@ -4,7 +4,14 @@ end
module ThinpWorld
def tools_version
"0.1.5+"
version = ''
File.open('VERSION', 'r') do |f|
version = f.readline
version.chomp!
end
version
end
def xml_file