Permalink
Browse files

fix tests for slim 1.0

  • Loading branch information...
1 parent bbe70a6 commit a22bd281a8de133261f17206d99ccbcbbb3590af @rkh rkh committed Aug 1, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/slim_test.rb
View
@@ -54,7 +54,7 @@ def slim_app(&block)
it "passes slim options to the slim engine" do
mock_app {
get '/' do
- slim "! doctype html\nh1 Hello World", :format => :html4
+ slim "doctype html\nh1 Hello World", :format => :html4
end
}
get '/'
@@ -66,7 +66,7 @@ def slim_app(&block)
mock_app {
set :slim, {:format => :html4}
get '/' do
- slim "! doctype html\nh1 Hello World"
+ slim "doctype html\nh1 Hello World"
end
}
get '/'
@@ -78,10 +78,10 @@ def slim_app(&block)
mock_app {
set :slim, {:format => :html4}
get '/' do
- slim "! doctype html\nh1.header Hello World"
+ slim "doctype html\nh1.header Hello World"
end
get '/html5' do
- slim "! doctype html\nh1.header Hello World", :format => :html5
+ slim "doctype html\nh1.header Hello World", :format => :html5
end
}
get '/'

0 comments on commit a22bd28

Please sign in to comment.