diff --git a/src/app/components/noosfero-blocks/raw-html/raw-html.component.spec.ts b/src/app/components/noosfero-blocks/raw-html/raw-html.component.spec.ts
index 45da1df..a268147 100644
--- a/src/app/components/noosfero-blocks/raw-html/raw-html.component.spec.ts
+++ b/src/app/components/noosfero-blocks/raw-html/raw-html.component.spec.ts
@@ -1,7 +1,7 @@
import {TestComponentBuilder} from 'ng-forward/cjs/testing/test-component-builder';
import {Component} from 'ng-forward';
-import {RawHtmlBlock} from './raw-html.component';
+import {RawHTMLBlock} from './raw-html.component';
const tcb = new TestComponentBuilder();
@@ -21,10 +21,10 @@ describe("Components", () => {
@Component({
selector: 'test-container-component',
template: htmlTemplate,
- directives: [RawHtmlBlock],
+ directives: [RawHTMLBlock],
})
class CustomBlockType {
- block: any = { settings: { html: 'block content' } };
+ block: any = { settings: { html: 'block content' } };
owner: any = { name: 'profile-name' };
}
tcb.createAsync(CustomBlockType).then(fixture => {
diff --git a/src/app/components/noosfero-blocks/raw-html/raw-html.component.ts b/src/app/components/noosfero-blocks/raw-html/raw-html.component.ts
index d3723c3..33a241c 100644
--- a/src/app/components/noosfero-blocks/raw-html/raw-html.component.ts
+++ b/src/app/components/noosfero-blocks/raw-html/raw-html.component.ts
@@ -1,11 +1,11 @@
import {Component, Input} from "ng-forward";
@Component({
- selector: "noosfero-raw-html-block",
+ selector: "noosfero-raw-htmlblock",
templateUrl: 'app/components/noosfero-blocks/raw-html/raw-html.html'
})
-export class RawHtmlBlock {
+export class RawHTMLBlock {
@Input() block: any;
@Input() owner: any;
diff --git a/src/app/main/main.component.ts b/src/app/main/main.component.ts
index 18d7c2e..b4806e9 100644
--- a/src/app/main/main.component.ts
+++ b/src/app/main/main.component.ts
@@ -9,6 +9,7 @@ import {Block} from "../components/noosfero-blocks/block.component";
import {LinkListBlock} from "../components/noosfero-blocks/link-list/link-list.component";
import {RecentDocumentsBlock} from "../components/noosfero-blocks/recent-documents/recent-documents.component";
import {ProfileImageBlock} from "../components/noosfero-blocks/profile-image-block/profile-image-block.component";
+import {RawHTMLBlock} from "../components/noosfero-blocks/raw-html/raw-html.component";
import {MembersBlock} from "../components/noosfero-blocks/members-block/members-block.component";
import {NoosferoTemplate} from "../components/noosfero/noosfero-template.filter";
@@ -38,7 +39,7 @@ export class MainContent {
directives: [
ArticleBlog, ArticleView, Boxes, Block, LinkListBlock,
MainBlock, RecentDocumentsBlock, Navbar, ProfileImageBlock,
- MembersBlock, NoosferoTemplate, DateFormat
+ MembersBlock, NoosferoTemplate, DateFormat, RawHTMLBlock
],
providers: [AuthService, Session]
})
--
libgit2 0.21.2