lib/fwtoolkit/test/model_helper.rb in fwtoolkit-0.1.1 vs lib/fwtoolkit/test/model_helper.rb in fwtoolkit-0.1.2
- old
+ new
@@ -57,10 +57,10 @@
key, value = option.split(":")
eval("@#{key} = value")
end
end
- template_file = File.join(Dir.pwd, 'features', 'support', 'templates', "#{template_file_name}.erb")
+ template_file = File.join(Dir.pwd, 'Frank', 'features', 'support', 'templates', "#{template_file_name}.erb")
erb = ERB.new(File.open(template_file).read, 0,"")
result = erb.result(binding)
# cleanup
unless capture_models.empty?
\ No newline at end of file