diff --git a/src/Orchard.Specs/Tags.feature b/src/Orchard.Specs/Tags.feature index 82a4ff0b4..dc4946cba 100644 --- a/src/Orchard.Specs/Tags.feature +++ b/src/Orchard.Specs/Tags.feature @@ -9,7 +9,7 @@ Scenario: I can add a tag to a new Page And I fill in | name | value | | Title.Title | Super Duper | - | Body.Text | This is super. | + | LayoutPart.State | { "elements": [ { "typeName": "Orchard.Layouts.Elements.Text", "state": "Content=This+is+super."} ] } | | Tags.Tags | Foo, Bar | And I hit "Publish Now" And I go to "super-duper" @@ -23,7 +23,7 @@ Scenario: I can't add a tag with disallowed chars to a new Page And I fill in | name | value | | Title.Title | Super Duper | - | Body.Text | This is super. | + | LayoutPart.State | { "elements": [ { "typeName": "Orchard.Layouts.Elements.Text", "state": "Content=This+is+super."} ] } | | Tags.Tags | Foo, I <3 Orchard | And I hit "Publish Now" And I go to "super-duper" diff --git a/src/Orchard.Specs/Tags.feature.cs b/src/Orchard.Specs/Tags.feature.cs index c1fec6f18..0b408c607 100644 --- a/src/Orchard.Specs/Tags.feature.cs +++ b/src/Orchard.Specs/Tags.feature.cs @@ -84,8 +84,9 @@ this.ScenarioSetup(scenarioInfo); "Title.Title", "Super Duper"}); table1.AddRow(new string[] { - "Body.Text", - "This is super."}); + "LayoutPart.State", + "{ \"elements\": [ { \"typeName\": \"Orchard.Layouts.Elements.Text\", \"state\": \"Content=" + + "This+is+super.\"} ] }"}); table1.AddRow(new string[] { "Tags.Tags", "Foo, Bar"}); @@ -124,8 +125,9 @@ this.ScenarioSetup(scenarioInfo); "Title.Title", "Super Duper"}); table2.AddRow(new string[] { - "Body.Text", - "This is super."}); + "LayoutPart.State", + "{ \"elements\": [ { \"typeName\": \"Orchard.Layouts.Elements.Text\", \"state\": \"Content=" + + "This+is+super.\"} ] }"}); table2.AddRow(new string[] { "Tags.Tags", "Foo, I <3 Orchard"});