diff --git a/test/unit/application_helper_test.rb b/test/unit/application_helper_test.rb index 880fe31..8d63c3a 100644 --- a/test/unit/application_helper_test.rb +++ b/test/unit/application_helper_test.rb @@ -74,27 +74,12 @@ class ApplicationHelperTest < Test::Unit::TestCase assert_nil theme_option() end - should 'not nil to ecosol theme option' do - expects(:current_theme).returns('ecosol') - assert_not_nil theme_option() - end - - should 'not nil to zen3 theme option' do - expects(:current_theme).returns('zen3') - assert_not_nil theme_option() - end - should 'nil javascript theme when no exists theme' do stubs(:current_theme).returns('something-very-unlikely') File.expects(:exists?).returns(false) assert_nil theme_javascript end - should 'not nil javascript theme to ecosol theme' do - expects(:current_theme).returns('ecosol') - assert_not_nil theme_javascript - end - should 'role color for admin role' do assert_equal 'blue', role_color(Profile::Roles.admin) end -- libgit2 0.21.2