From dabc3037ffd99fbdab2a70d8b61cd4480b11b12a Mon Sep 17 00:00:00 2001 From: ayende Date: Tue, 26 Feb 2008 14:30:44 +0000 Subject: [PATCH] Adding passing test. git-svn-id: https://svn.castleproject.org/svn/castle/trunk@4850 73e77b4c-caa6-f847-a29a-24ab75ae54b6 --- .../Castle.MonoRail.Views.Brail.Tests/BrailBugsTestCase.cs | 11 +++++++++++ MonoRail/TestSiteBrail/TestSiteBrail-vs2008.csproj | 1 + MonoRail/TestSiteBrail/Views/bugs/no_code.brail | 3 +++ 3 files changed, 15 insertions(+) create mode 100644 MonoRail/TestSiteBrail/Views/bugs/no_code.brail diff --git a/MonoRail/Castle.MonoRail.Views.Brail.Tests/BrailBugsTestCase.cs b/MonoRail/Castle.MonoRail.Views.Brail.Tests/BrailBugsTestCase.cs index ffd4de46b..9c794785c 100644 --- a/MonoRail/Castle.MonoRail.Views.Brail.Tests/BrailBugsTestCase.cs +++ b/MonoRail/Castle.MonoRail.Views.Brail.Tests/BrailBugsTestCase.cs @@ -29,6 +29,17 @@ namespace Castle.MonoRail.Views.Brail.Tests } [Test] + public void ScriptWithNoTempatingCode() + { + ProcessView_StripRailsExtension("bugs/no_code.rails"); + AssertReplyEqualTo(@" +test + +"); + } + + + [Test] public void MR_294_CaptureForInSubViewDoesNotPropogateUpward() { ProcessView_StripRailsExtension("bugs/MR_294_CaptureForInSubViewDoesNotPropogateUpward.rails"); diff --git a/MonoRail/TestSiteBrail/TestSiteBrail-vs2008.csproj b/MonoRail/TestSiteBrail/TestSiteBrail-vs2008.csproj index 458f9b936..bf5fdd10a 100644 --- a/MonoRail/TestSiteBrail/TestSiteBrail-vs2008.csproj +++ b/MonoRail/TestSiteBrail/TestSiteBrail-vs2008.csproj @@ -231,6 +231,7 @@ + diff --git a/MonoRail/TestSiteBrail/Views/bugs/no_code.brail b/MonoRail/TestSiteBrail/Views/bugs/no_code.brail new file mode 100644 index 000000000..df96908c7 --- /dev/null +++ b/MonoRail/TestSiteBrail/Views/bugs/no_code.brail @@ -0,0 +1,3 @@ + +test + -- 2.11.4.GIT