Commit d0894925de1da8116869bb919142e2d2c8913982
1 parent
c9eccb09
Exists in
master
and in
29 other branches
box-test: fix test due to method to_css_class_name improvement
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/unit/box_test.rb
... | ... | @@ -101,7 +101,7 @@ class BoxTest < ActiveSupport::TestCase |
101 | 101 | Noosfero::Plugin::Manager.any_instance.stubs(:enabled_plugins).returns([SomePlugin.new]) |
102 | 102 | |
103 | 103 | blocks = Box.new(:position => 1).acceptable_blocks |
104 | - assert blocks.include?('plugin-block') | |
104 | + assert blocks.include?('box-test_plugin-block') | |
105 | 105 | end |
106 | 106 | |
107 | 107 | should 'list plugin block as allowed for box at position 2' do |
... | ... | @@ -116,7 +116,7 @@ class BoxTest < ActiveSupport::TestCase |
116 | 116 | Noosfero::Plugin::Manager.any_instance.stubs(:enabled_plugins).returns([SomePlugin.new]) |
117 | 117 | |
118 | 118 | blocks = Box.new(:position => 2).acceptable_blocks |
119 | - assert blocks.include?('plugin-block') | |
119 | + assert blocks.include?('box-test_plugin-block') | |
120 | 120 | end |
121 | 121 | |
122 | 122 | end | ... | ... |