ember-cli-test-helpers
Advanced tools
Comparing version 0.7.0 to 0.8.0
{ | ||
"name": "ember-cli-test-helpers", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "A collection of test helpers for ember web applications", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -5,10 +5,12 @@ import Ember from "ember"; | ||
return Ember.$.fauxjax.new({ | ||
type: verb || "GET", | ||
url: url, | ||
status: status || 200, | ||
dataType: "json", | ||
contentType: "application/json", | ||
responseText: json, | ||
data: post_data, | ||
cache: false | ||
request: { | ||
url: url, | ||
method: verb || "GET", | ||
data: post_data, | ||
cache: false | ||
}, | ||
response: { | ||
status: status || 200, | ||
content: json | ||
} | ||
}); | ||
@@ -15,0 +17,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13955
274
12