Sha256: a1559ef6fff5bed8320f556c0e7467b90e29cdbafaf7beaee7b9299c8ada9203

Contents?: true

Size: 228 Bytes

Versions: 1

Compression:

Stored size: 228 Bytes

Contents

require 'test_helper'

module Papercat
  class ImageTest < ActiveSupport::TestCase
    test "has uploadable file" do
      image = Image.create(file: File.new('test/support/image.jpg'))
      assert image.file
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
papercat-0.0.2 test/models/papercat/image_test.rb