test/unit/server_configuration_tests.rb in deas-0.23.0 vs test/unit/server_configuration_tests.rb in deas-0.23.1

- old
+ new

@@ -16,11 +16,11 @@ end subject{ @configuration } # sinatra-based options - should have_imeths :env, :root, :public_folder, :views_folder + 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 # server handling options @@ -33,11 +33,11 @@ should "default the env to 'development'" do assert_equal 'development', subject.env end should "default the public and views folders based off the root" do - assert_equal subject.root.join('public'), subject.public_folder - assert_equal subject.root.join('views'), subject.views_folder + assert_equal subject.root.join('public'), subject.public_root + assert_equal subject.root.join('views'), subject.views_root end should "default the Sinatra flags" do assert_equal false, subject.dump_errors assert_equal true, subject.method_override