From 60f7f167ae23e1221757dd2c17637d981a90e46f Mon Sep 17 00:00:00 2001 From: Nathan Heskew Date: Wed, 2 Mar 2011 10:14:36 -0800 Subject: [PATCH] Fixing a Modules.feature spec test to follow recent admin UI changes. --HG-- branch : dev --- src/Orchard.Specs/Modules.feature | 4 ++-- src/Orchard.Specs/Modules.feature.cs | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/Orchard.Specs/Modules.feature b/src/Orchard.Specs/Modules.feature index dd68a89c2..a43a1f7a2 100644 --- a/src/Orchard.Specs/Modules.feature +++ b/src/Orchard.Specs/Modules.feature @@ -13,6 +13,6 @@ Scenario: Installed modules are listed Scenario: Features of installed modules are listed Given I have installed Orchard When I go to "admin/modules/features" - Then I should see "

Manage Features

" - And I should see "

Common

" + Then I should see "

Common

" + 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 bf9a90a5a..1800ed814 100644 --- a/src/Orchard.Specs/Modules.feature.cs +++ b/src/Orchard.Specs/Modules.feature.cs @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // // This code was generated by SpecFlow (http://www.specflow.org/). -// SpecFlow Version:1.3.2.0 +// SpecFlow Version:1.4.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.3.2.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.4.0.0")] [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [NUnit.Framework.TestFixtureAttribute()] [NUnit.Framework.DescriptionAttribute("Module management")] @@ -31,7 +31,7 @@ namespace Orchard.Specs { testRunner = TechTalk.SpecFlow.TestRunnerManager.GetTestRunner(); TechTalk.SpecFlow.FeatureInfo featureInfo = new TechTalk.SpecFlow.FeatureInfo(new System.Globalization.CultureInfo("en-US"), "Module management", "In order add and enable features\r\nAs a root Orchard system operator\r\nI want to in" + - "stall and enable modules and enable features", ((string[])(null))); + "stall and enable modules and enable features", GenerationTargetLanguage.CSharp, ((string[])(null))); testRunner.OnFeatureStart(featureInfo); } @@ -61,15 +61,15 @@ namespace Orchard.Specs #line 6 this.ScenarioSetup(scenarioInfo); #line 7 -testRunner.Given("I have installed Orchard"); + testRunner.Given("I have installed Orchard"); #line 8 -testRunner.When("I go to \"admin/modules\""); + testRunner.When("I go to \"admin/modules\""); #line 9 -testRunner.Then("I should see \"

    Installed Modules

    \""); + testRunner.Then("I should see \"

    Installed Modules

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

    Themes\""); + testRunner.And("I should see \"

    Themes\""); #line 11 -testRunner.And("the status should be 200 \"OK\""); + testRunner.And("the status should be 200 \"OK\""); #line hidden testRunner.CollectScenarioErrors(); } @@ -82,15 +82,15 @@ testRunner.And("the status should be 200 \"OK\""); #line 13 this.ScenarioSetup(scenarioInfo); #line 14 -testRunner.Given("I have installed Orchard"); + testRunner.Given("I have installed Orchard"); #line 15 -testRunner.When("I go to \"admin/modules/features\""); + testRunner.When("I go to \"admin/modules/features\""); #line 16 -testRunner.Then("I should see \"

    Manage Features

    \""); + testRunner.Then("I should see \"

    Common

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

    Common

    \""); + testRunner.And("I should see \"
  • ]*>\""); #line 18 -testRunner.And("the status should be 200 \"OK\""); + testRunner.And("the status should be 200 \"OK\""); #line hidden testRunner.CollectScenarioErrors(); }