Skip to content
Snippets Groups Projects
Commit cb8fd0c8 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

cleanup

parent 03d7b091
No related branches found
No related tags found
No related merge requests found
......@@ -3,5 +3,3 @@ test:
website: test
title: Test
slug: test
text_new: >
<action-text-attachment sgid="sgid" content-type="image/jpeg" url="http://localhost:3000/dan-gold.jpeg" filename="test.jpg" filesize="352931" width="588" height="746" previewable="true" presentation="gallery"></action-text-attachment>
......@@ -13,6 +13,10 @@ class SummernoteTest < ActiveSupport::TestCase
end
test "rehydrate actiontext" do
post = communication_website_post(:test)
post.text_new = HTML_DEHYDRATED
post.save
post.reload
assert_equal HTML_HYDRATED, communication_website_post(:test).text_new.to_s
end
end
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment