Skip to content

Controller generator uses shared code, but the specs are not shared. #372

@jcoyne

Description

@jcoyne

When I did rails generate curate:work Text
I got a controller spec with this line in it:

it_behaves_like 'is_a_curation_concern_controller', Text, actions: :all
in `find_and_eval_shared': Could not find shared examples "is_a_curation_concern_controller" (ArgumentError)

It does the same in the actor spec: is_a_curation_concern_actor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions