Sha256: bdc9282bcc4edc2559cee19050816720a0bcca0847eae3582429492dc0a0c49b

Contents?: true

Size: 292 Bytes

Versions: 25

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

# Generated via
#  `rails generate hyrax:work_resource <%= class_name %>`
require 'rails_helper'
require 'hyrax/specs/shared_specs/hydra_works'

RSpec.describe <%= class_name %> do
  subject(:work) { described_class.new }

  it_behaves_like 'a Hyrax::Work'
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
hyrax-3.0.1 lib/generators/hyrax/work_resource/templates/work_spec.rb.erb
hyrax-3.0.0 lib/generators/hyrax/work_resource/templates/work_spec.rb.erb
hyrax-3.0.0.pre.rc4 lib/generators/hyrax/work_resource/templates/work_spec.rb.erb
hyrax-3.0.0.pre.rc3 lib/generators/hyrax/work_resource/templates/work_spec.rb.erb
hyrax-3.0.0.pre.rc2 lib/generators/hyrax/work_resource/templates/work_spec.rb.erb