diff --git a/README.md b/README.md index 32fbf7fa..5c7388a4 100644 --- a/README.md +++ b/README.md @@ -832,7 +832,8 @@ template than for the layout by passing the `:layout_engine` option. and a way to execute javascript - + , it also requires and as of yet unreleased version of + Tilt diff --git a/test/stylus_test.rb b/test/stylus_test.rb index e266c087..7d11617f 100644 --- a/test/stylus_test.rb +++ b/test/stylus_test.rb @@ -4,7 +4,7 @@ begin require 'stylus' begin - Stylus.compile '1' + Tilt[:styl].new { "1" }.render rescue RuntimeError raise LoadError, 'unable to find Stylus compiler' end