# frozen_string_literal: true

require 'rails_helper'
require 'support/shared_examples_for_a_curated_model_accessed_by_an_unauthorized_user'
require 'support/shared_examples_for_a_curated_model_accessed_by_an_user_without_curator_rights'
require 'support/shared_examples_for_a_curated_model_accessed_by_a_curator'

RSpec.describe '/release_head_artist_roles', type: :request do
  it_behaves_like 'a curated model accessed by an unauthorized user', 'release_head_artist_role'
  it_behaves_like 'a curated model accessed by an user without curator rights', 'release_head_artist_role'
  it_behaves_like 'a curated model accessed by a curator', 'release_head_artist_role'
end
