spec/spec_helper.rb in opay-1.1.3 vs spec/spec_helper.rb in opay-1.1.4
- old
+ new
@@ -82,8 +82,8 @@
end
def response_from_template(tpl, vars = {})
bind = OpenStruct.new(vars)
- tpl = File.read(Rails.root.join('../support/xml', "#{tpl}.erb"))
+ tpl = File.read(Rails.root.join('../fixtures/xml', "#{tpl}.erb"))
ERB.new(tpl).result(bind.instance_eval { binding })
end