sinatra-pages 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/spec/pages_spec.rb +1 -1
- metadata +1 -1
data/spec/pages_spec.rb
CHANGED
@@ -16,7 +16,7 @@ describe Sinatra::Pages do
|
|
16
16
|
it "should render the Home page if the given route is either empty or root." do
|
17
17
|
File.exist?('views/home.haml').should be_true
|
18
18
|
|
19
|
-
|
19
|
+
['/', ''].each do |route|
|
20
20
|
get route
|
21
21
|
|
22
22
|
last_response.should be_ok
|