rails/actiontext/test
Kyohei Toyoda 07533a3d2f Add method to confirm rich text content existence by adding ? after content name
This change introduces a rich text object to make
it easier to confirm it context is existing or not.

If we have a class like below.

class Information < ApplicationRecord
  has_rich_text :notes
end

Before:
i = Information.new
i.notes? => NoMethodError
i.notes = "Some sample text"
i.notes.present? => true

After:
i = Information.new
i.notes? => false

i.notes = "Some sample text"
i.notes? => true
2019-12-13 12:58:42 +09:00
..
dummy Track Active Storage variants in the database 2019-12-06 13:26:51 -05:00
fixtures/files Import Action Text 2019-01-04 22:22:49 -05:00
system Correct test name 2019-05-20 13:59:06 -04:00
template form_with takes keyword arguments 2019-09-24 13:48:14 +09:00
unit Add method to confirm rich text content existence by adding ? after content name 2019-12-13 12:58:42 +09:00
application_system_test_case.rb Add ActionDispatch::SystemTestCase#fill_in_rich_text_area 2019-05-13 12:44:06 -04:00
test_helper.rb Always create ActiveStorage::Blob before uploading to service 2019-09-24 07:32:59 -04:00