test/unit/sinatra_app_tests.rb in deas-0.11.0 vs test/unit/sinatra_app_tests.rb in deas-0.12.0

- old
+ new

@@ -39,16 +39,19 @@ assert_equal 'staging', settings.environment assert_equal 'path/to/somewhere', settings.root.to_s assert_equal 'path/to/somewhere/public', settings.public_folder.to_s assert_equal 'path/to/somewhere/views', settings.views.to_s assert_equal true, settings.dump_errors - assert_equal false, settings.logging assert_equal false, settings.method_override assert_equal false, settings.sessions - assert_equal true, settings.show_exceptions assert_equal true, settings.static assert_equal true, settings.reload_templates assert_instance_of Deas::NullLogger, settings.logger + + # settings that are set but can't be changed + assert_equal false, settings.logging + assert_equal false, settings.raise_errors + assert_equal false, settings.show_exceptions end end should "define Sinatra routes for every route in the configuration" do get_routes = subject.routes[@route.method.to_s.upcase] || []