Commit a1383bac2c4c5939bc117aff8d45497be4690638

Authored by AntonioTerceiro
1 parent 580d02a6

ActionItem34: adding a somewhat dummy test since we need to have one


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1293 3f533792-8f58-4932-b0fe-aaf55b0a4547
test/functional/environment_design_controller_test.rb
... ... @@ -11,7 +11,7 @@ class EnvironmentDesignControllerTest < Test::Unit::TestCase
11 11 @response = ActionController::TestResponse.new
12 12 end
13 13  
14   - should 'have tests' do
15   - flunk 'add some real test here'
  14 + should 'indicate only actual blocks as such' do
  15 + assert(@controller.available_blocks.all? {|item| item.new.is_a? Block})
16 16 end
17 17 end
... ...