Sha256: d8740823bacf46eb44121024ba4537f96aa7bd1b65f747f13e884d5fb8b65cbd
Contents?: true
Size: 509 Bytes
Versions: 4
Compression:
Stored size: 509 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe Attachy::File do it { expect(build(:file)).to be_valid } it { is_expected.to belong_to :attachable } it { is_expected.to validate_presence_of :format } it { is_expected.to validate_presence_of :height } it { is_expected.to validate_presence_of :public_id } it { is_expected.to validate_presence_of :resource_type } it { is_expected.to validate_presence_of :scope } it { is_expected.to validate_presence_of :version } end
Version data entries
4 entries across 4 versions & 1 rubygems