Have Jasmine HTML use the source files in specs
Similar to the changes in Jasmine core and console, this gets the HTML specs of Jasmine using j$ instead of jasmine so that they use the source files instead of the built distribution
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
describe("jasmine.HtmlSpecFilter", function() {
|
||||
describe("j$.HtmlSpecFilter", function() {
|
||||
|
||||
it("should match when no string is provided", function() {
|
||||
var specFilter = new jasmine.HtmlSpecFilter();
|
||||
var specFilter = new j$.HtmlSpecFilter();
|
||||
|
||||
expect(specFilter.matches("foo")).toBe(true);
|
||||
expect(specFilter.matches("*bar")).toBe(true);
|
||||
});
|
||||
|
||||
it("should only match the provided string", function() {
|
||||
var specFilter = new jasmine.HtmlSpecFilter({
|
||||
var specFilter = new j$.HtmlSpecFilter({
|
||||
filterString: function() { return "foo"; }
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user