Skip to content

Commit

Permalink
Fix script tag tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nozzlegear committed Jun 8, 2017
1 parent 53bf4d3 commit 382022d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/script_tags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class ScriptTagTests {
Expect(list.length).toBeGreaterThanOrEqualTo(1);
Expect(list).itemsToPassValidator<Prime.Models.ScriptTag>(tag => {
Expect(tag.id).toBeType("number");
Expect(tag.src).toMatch(/^https:\/\/localhost:3000\/scripts\//i);
Expect(tag.src).toBeType("string");
Expect(tag.created_at).toBeType("string");
Expect(tag.updated_at).toBeType("string");
Expect(tag.event).toEqual("onload");
Expand Down

0 comments on commit 382022d

Please sign in to comment.