summaryrefslogtreecommitdiffstats
path: root/test/functional/projects_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-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