diff --git a/test/functional/environment_design_controller_test.rb b/test/functional/environment_design_controller_test.rb index 234a17b..fc43c78 100644 --- a/test/functional/environment_design_controller_test.rb +++ b/test/functional/environment_design_controller_test.rb @@ -341,18 +341,18 @@ class EnvironmentDesignControllerTest < ActionController::TestCase should 'display all available blocks in groups' do login_as(create_admin_user(Environment.default)) get :index - assert_select 'div.block-types-group', 3 + assert_select 'div.block-types-group', 2 assert_select 'div.block-types-group' do |elements| - assert_select 'div.block-type', 15 + assert_select 'div.block-type', 14 end end should 'paginate the block store with 7 elements per line' do - assert_equal 15, @controller.available_blocks.length + assert_equal 14, @controller.available_blocks.length login_as(create_admin_user(Environment.default)) get :index - assert_select 'div.block-types-group', 3, "something wrong happens with the pagination of the block store" + assert_select 'div.block-types-group', 2, "something wrong happens with the pagination of the block store" end end -- libgit2 0.21.2