test/unit/server_configuration_tests.rb in deas-0.33.0 vs test/unit/server_configuration_tests.rb in deas-0.34.0

- old
+ new

@@ -19,11 +19,11 @@ # sinatra-based options should have_imeths :env, :root, :public_root, :views_root should have_imeths :dump_errors, :method_override, :sessions, :show_exceptions - should have_imeths :static_files, :reload_templates, :default_charset + should have_imeths :static_files, :reload_templates, :default_encoding # server handling options should have_imeths :verbose_logging, :logger, :template_source @@ -77,11 +77,11 @@ config = Deas::Server::Configuration.new assert_raises(Deas::ServerRootError){ config.validate! } assert_nothing_raised{ config.root '/path/to/root'; config.validate! } end - should "use `utf-8` as the default_charset by default" do - assert_equal 'utf-8', subject.default_charset + should "use `utf-8` as the default encoding by default" do + assert_equal 'utf-8', subject.default_encoding end end class ValidationTests < UnitTests