From 5e457de1f6ff24c945e3b65390b419ce12466bce Mon Sep 17 00:00:00 2001 From: Suha Can Date: Tue, 22 Feb 2011 11:49:24 -0800 Subject: [PATCH] Updating specflow test case. --HG-- branch : recipe --- src/Orchard.Specs/Setup.feature | 1 + src/Orchard.Specs/Setup.feature.cs | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Orchard.Specs/Setup.feature b/src/Orchard.Specs/Setup.feature index 1cb6d8ab4..092313c61 100644 --- a/src/Orchard.Specs/Setup.feature +++ b/src/Orchard.Specs/Setup.feature @@ -48,6 +48,7 @@ Scenario: Calling setup on a brand new install | SiteName | My Site | | AdminPassword | 6655321 | | ConfirmPassword | 6655321 | + | Recipe | Minimal | And I hit "Finish Setup" And I go to "/" Then I should see "My Site" diff --git a/src/Orchard.Specs/Setup.feature.cs b/src/Orchard.Specs/Setup.feature.cs index 811f0aeed..ac5f5f9f8 100644 --- a/src/Orchard.Specs/Setup.feature.cs +++ b/src/Orchard.Specs/Setup.feature.cs @@ -203,15 +203,18 @@ this.ScenarioSetup(scenarioInfo); table5.AddRow(new string[] { "ConfirmPassword", "6655321"}); + table5.AddRow(new string[] { + "Recipe", + "Minimal"}); #line 46 testRunner.When("I fill in", ((string)(null)), table5); -#line 51 - testRunner.And("I hit \"Finish Setup\""); #line 52 - testRunner.And("I go to \"/\""); + testRunner.And("I hit \"Finish Setup\""); #line 53 - testRunner.Then("I should see \"My Site\""); + testRunner.And("I go to \"/\""); #line 54 + testRunner.Then("I should see \"My Site\""); +#line 55 testRunner.And("I should see \"Welcome, admin<" + "/strong>!\""); #line hidden