summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-09-29 15:34:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-09-29 15:34:25 +0000
commit481a1311b75e696ccecb487b6ab4cd8686111988 (patch)
tree1fe114942031ccc6f2c2cc70ebf77f79e0e2a943 /test
parent2012e635b0775d005c7fe069705fd593b9f5f94b (diff)
downloadredmine-481a1311b75e696ccecb487b6ab4cd8686111988.tar.gz
redmine-481a1311b75e696ccecb487b6ab4cd8686111988.zip
Adds a project specific css class to body (#14767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12170 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/projects_controller_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index c8bd19c5e..79721d589 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -589,4 +589,9 @@ class ProjectsControllerTest < ActionController::TestCase
assert_response :success
assert_template 'show'
end
+
+ def test_body_should_have_project_css_class
+ get :show, :id => 1
+ assert_select 'body.project-ecookbook'
+ end
end