Skip to content
Browse files

fix tests for slim 1.0

  • Loading branch information...
1 parent d24946a commit 87a633db26d0156dcf7e12094567c116137dc3f1 @rkh rkh committed Aug 1, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/slim_test.rb
View
8 test/slim_test.rb
@@ -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 87a633d

Please sign in to comment.
Something went wrong with that request. Please try again.