diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-17 22:56:22 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-17 22:56:22 +0100 |
commit | fb6f4bdc065e414dc4e8a56ab2149ba6cafd4107 (patch) | |
tree | 330f04b4a0ebb39898ac5b66aa8e58042e9cfdae /spec/node_spec.rb | |
parent | 8c1749d35061ee6a4954580697b523c7354de16c (diff) | |
download | zorglub-fb6f4bdc065e414dc4e8a56ab2149ba6cafd4107.zip zorglub-fb6f4bdc065e414dc4e8a56ab2149ba6cafd4107.tar.gz |
add Sass engine specs
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r-- | spec/node_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb index 98e7f99..a203ef7 100644 --- a/spec/node_spec.rb +++ b/spec/node_spec.rb @@ -232,6 +232,11 @@ describe Zorglub do r.body[0].should == "<h1>Hello world</h1>\n" end # + it "sass engine should work" do + r = Node0.my_call '/engines/sass' + r.body[0].should == "vbar{width:80%;height:23px}vbar ul{list-style-type:none}vbar li{float:left}vbar li a{font-weight:bold}\n" + end + # it "view_base_path! should work" do r = Node7.my_call '/view_path' h = YAML.load r.body[0] |