test/test_helper.rb in xeroizer-0.2.0 vs test/test_helper.rb in xeroizer-0.2.1
- old
+ new
@@ -49,9 +49,9 @@
@client.stubs(:http_get).with {|client, url, params| url =~ /#{model_name}\/#{record.id}$/ }.returns(get_record_xml("#{model_name.underscore.singularize}".to_sym, record.id))
end
end
def mock_report_api(report_type)
- @client.stubs(:http_get).with { | client, url, params | url =~ /Report\/#{report_type}$/ }.returns(get_report_xml(report_type))
+ @client.stubs(:http_get).with { | client, url, params | url =~ /Reports\/#{report_type}$/ }.returns(get_report_xml(report_type))
end
-end
\ No newline at end of file
+end