Sha256: 7eab071dd87829dea767b6338ace3cd18570e8ad2907759b0054c3dd4a929adf

Contents?: true

Size: 400 Bytes

Versions: 5

Compression:

Stored size: 400 Bytes

Contents

require_relative 'test_helper'

# Run the tests in the generator, to make sure they pass.
template_path = File.expand_path(
    '../../lib/file_blobs_rails/generators/templates/blob_owner_test.rb.erb',
    __FILE__)
eval Erubis::Eruby.new(File.read(template_path)).result(
    options: { attr_name: 'file', allow_nil: false, blob_model: 'FileBlob' },
    file_name: 'blob_owner'), nil, template_path

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
file_blobs_rails-0.2.3 test/blob_owner_test.rb
file_blobs_rails-0.2.2 test/blob_owner_test.rb
file_blobs_rails-0.2.1 test/blob_owner_test.rb
file_blobs_rails-0.2.0 test/blob_owner_test.rb
file_blobs_rails-0.1.0 test/blob_owner_test.rb