From 0361a7103a6e8a2a898d549631e3f98935910d24 Mon Sep 17 00:00:00 2001 From: Andre Rodrigues Date: Mon, 7 Mar 2011 13:37:46 -0800 Subject: [PATCH] Fixing/improving more spec flows. --HG-- branch : dev --- src/Orchard.Specs/Modules.feature | 4 ++-- src/Orchard.Specs/Modules.feature.cs | 4 ++-- src/Orchard.Specs/Pages.feature | 2 +- src/Orchard.Specs/Pages.feature.cs | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Orchard.Specs/Modules.feature b/src/Orchard.Specs/Modules.feature index 745dcc5b5..7f8dba1b3 100644 --- a/src/Orchard.Specs/Modules.feature +++ b/src/Orchard.Specs/Modules.feature @@ -12,12 +12,12 @@ Scenario: Installed modules are listed | Options.SearchText | Themes | And I hit "Search" Then I should see "

Modules

" - And I should see "

Themes" + And I should see "]*>Themes" And the status should be 200 "OK" Scenario: Features of installed modules are listed Given I have installed Orchard When I go to "admin/modules/features" Then I should see "

Common

" - And I should see "
  • ]*>" + And I should see "
  • ]*>" And the status should be 200 "OK" \ No newline at end of file diff --git a/src/Orchard.Specs/Modules.feature.cs b/src/Orchard.Specs/Modules.feature.cs index 3845ec7c9..107141de9 100644 --- a/src/Orchard.Specs/Modules.feature.cs +++ b/src/Orchard.Specs/Modules.feature.cs @@ -80,7 +80,7 @@ this.ScenarioSetup(scenarioInfo); #line 14 testRunner.Then("I should see \"

    Modules

    \""); #line 15 - testRunner.And("I should see \"

    Themes\""); + testRunner.And("I should see \"]*>Themes\""); #line 16 testRunner.And("the status should be 200 \"OK\""); #line hidden @@ -101,7 +101,7 @@ this.ScenarioSetup(scenarioInfo); #line 21 testRunner.Then("I should see \"

    Common

    \""); #line 22 - testRunner.And("I should see \"
  • ]*>\""); + testRunner.And("I should see \"
  • ]*>\""); #line 23 testRunner.And("the status should be 200 \"OK\""); #line hidden diff --git a/src/Orchard.Specs/Pages.feature b/src/Orchard.Specs/Pages.feature index 75636ccc3..605b2be52 100644 --- a/src/Orchard.Specs/Pages.feature +++ b/src/Orchard.Specs/Pages.feature @@ -6,7 +6,7 @@ Scenario: In the admin (menu) there is a link to create a Page Given I have installed Orchard When I go to "admin" - Then I should see "Page" + Then I should see "]*>Page" Scenario: I can create and publish a new Page Given I have installed Orchard diff --git a/src/Orchard.Specs/Pages.feature.cs b/src/Orchard.Specs/Pages.feature.cs index 07edca811..5c49d5b5a 100644 --- a/src/Orchard.Specs/Pages.feature.cs +++ b/src/Orchard.Specs/Pages.feature.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // // This code was generated by SpecFlow (http://www.specflow.org/). -// SpecFlow Version:1.4.0.0 +// SpecFlow Version:1.5.0.0 // Runtime Version:4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if @@ -14,7 +14,7 @@ namespace Orchard.Specs using TechTalk.SpecFlow; - [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.4.0.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.5.0.0")] [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [NUnit.Framework.TestFixtureAttribute()] [NUnit.Framework.DescriptionAttribute("Pages")] @@ -65,7 +65,7 @@ this.ScenarioSetup(scenarioInfo); #line 8 testRunner.When("I go to \"admin\""); #line 9 - testRunner.Then("I should see \"Page\""); + testRunner.Then("I should see \"]*>Page\""); #line hidden testRunner.CollectScenarioErrors(); }