1 namespace Castle
.MonoRail
.Views
.Brail
.Tests
3 using System
.Collections
.Generic
;
4 using System
.Configuration
;
10 public class DslFixture
: BaseViewOnlyTestFixture
19 public void CanOutputParagraphWithClassAttribute()
21 ProcessView("dsl/attributeOutput");
22 AssertReplyEqualTo("<html><p class=\"foo\">hello world</p></html>");
26 public void ParametersCanBeReferencedByView()
28 PropertyBag
["SayHelloTo"] = "Harris";
29 ProcessView("dsl/expandParameters");
30 AssertReplyEqualTo("<html><p>hello, Harris</p></html>");
34 public void RegisterHtmlAllowsCallToHtml()
36 ProcessView("dsl/registerHtml");
37 AssertReplyEqualTo(@"<html>hello world</html>");