Commit 0b03bcf4298f3da3b0678bd24cb4caafad47a648
1 parent
a92499c6
Exists in
master
and in
32 other branches
Fix raw html test
Showing
1 changed file
with
2 additions
and
4 deletions
Show diff stats
src/app/components/noosfero-blocks/raw-html/raw-html.component.spec.ts
@@ -5,16 +5,14 @@ import {RawHTMLBlock} from './raw-html.component'; | @@ -5,16 +5,14 @@ import {RawHTMLBlock} from './raw-html.component'; | ||
5 | 5 | ||
6 | const tcb = new TestComponentBuilder(); | 6 | const tcb = new TestComponentBuilder(); |
7 | 7 | ||
8 | -const htmlTemplate: string = '<noosfero-raw-html-block [block]="ctrl.block" [owner]="ctrl.owner"></noosfero-raw-html-block>'; | 8 | +const htmlTemplate: string = '<noosfero-raw-htmlblock [block]="ctrl.block" [owner]="ctrl.owner"></noosfero-raw-htmlblock>'; |
9 | 9 | ||
10 | describe("Components", () => { | 10 | describe("Components", () => { |
11 | 11 | ||
12 | describe("Raw Html Block Component", () => { | 12 | describe("Raw Html Block Component", () => { |
13 | 13 | ||
14 | beforeEach(angular.mock.module("templates")); | 14 | beforeEach(angular.mock.module("templates")); |
15 | - beforeEach(angular.mock.module("noosferoApp", ($translateProvider: angular.translate.ITranslateProvider) => { | ||
16 | - $translateProvider.translations('en', {}); | ||
17 | - })); | 15 | + beforeEach(angular.mock.module("ngSanitize")); |
18 | 16 | ||
19 | it("display html stored in block settings", done => { | 17 | it("display html stored in block settings", done => { |
20 | 18 |