Sha256: 14593f9c44f3f1f90d7d945f8887c891c4247d284a82670b4bc362117b7eef76

Contents?: true

Size: 218 Bytes

Versions: 5

Compression:

Stored size: 218 Bytes

Contents

require 'spec_helper' 

describe Image do
  it 'has an attachment' do
    Image.new(
      file: Rack::Test::UploadedFile.new(Rails.root.join('spec/fixtures/image.jpg'), 'image/jpg'),
      position: 1
    )
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nubis_rails_boilerplate-0.0.11 skeletons/real_estate_app/spec/models/image_spec.rb
nubis_rails_boilerplate-0.0.10 skeletons/real_estate_app/spec/models/image_spec.rb
nubis_rails_boilerplate-0.0.9 skeletons/real_estate_app/spec/models/image_spec.rb
nubis_rails_boilerplate-0.0.8 skeletons/real_estate_app/spec/models/image_spec.rb
nubis_rails_boilerplate-0.0.7 skeletons/real_estate_app/spec/models/image_spec.rb