diff --git a/test/functional/cms_controller_test.rb b/test/functional/cms_controller_test.rb
index 5f9be5b..4332a15 100644
--- a/test/functional/cms_controller_test.rb
+++ b/test/functional/cms_controller_test.rb
@@ -653,10 +653,10 @@ class CmsControllerTest < ActionController::TestCase
assert_match //, saved.body
end
- should 'not be able to add image with alignment when textile' do
+ should 'be able to add image with alignment when textile' do
post :new, :type => 'TextileArticle', :profile => profile.identifier, :article => { :name => 'image-alignment', :body => "the text of the article with image
right align..." }
saved = TextileArticle.find_by_name('image-alignment')
- assert_no_match /align="right"/, saved.body
+ assert_match /align="right"/, saved.body
end
should 'be able to create a new event document' do
--
libgit2 0.21.2