test/unit/view_handler_tests.rb in deas-0.15.0 vs test/unit/view_handler_tests.rb in deas-0.16.0
- old
+ new
@@ -35,13 +35,13 @@
should "allow specifying the layouts using #layout or #layouts" do
handler_class = Class.new{ include Deas::ViewHandler }
handler_class.layout 'layouts/app'
- assert_equal [ 'layouts/app' ], handler_class.layouts
+ assert_equal ['layouts/app'], handler_class.layouts
handler_class.layouts 'layouts/web', 'layouts/search'
- assert_equal [ 'layouts/web', 'layouts/search' ], handler_class.layouts
+ assert_equal ['layouts/app', 'layouts/web', 'layouts/search'], handler_class.layouts
end
end
class CallbackTests < BaseTests