Sha256: d229d027a3f8a5056d62bd33d432de09a531a29bf97a3047d47d9907b72e8faf

Contents?: true

Size: 169 Bytes

Versions: 8

Compression:

Stored size: 169 Bytes

Contents

require "test_helper"

class PostTest < ActiveSupport::TestCase
  test "post has cover image" do
    post = posts(:one)

    assert post.cover_image.attached?
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
administrate-field-active_storage-1.0.2 test_app/test/models/post_test.rb
administrate-field-active_storage-1.0.1 test_app/test/models/post_test.rb
administrate-field-active_storage-1.0.0 test_app/test/models/post_test.rb
administrate-field-active_storage-0.4.2 test_app/test/models/post_test.rb
administrate-field-active_storage-0.4.1 test_app/test/models/post_test.rb
administrate-field-active_storage-0.4.0 test_app/test/models/post_test.rb
administrate-field-active_storage-0.3.8 test_app/test/models/post_test.rb
administrate-field-active_storage-0.3.7 test_app/test/models/post_test.rb