Sha256: 64f4a3be45c782e3f9bf3f267098e69e2acb40e8debb9f9c66e300cf8e348015

Contents?: true

Size: 381 Bytes

Versions: 37

Compression:

Stored size: 381 Bytes

Contents

RSpec.describe Hyrax::Admin::WorkflowRolePresenter do
  let(:presenter) { described_class.new(workflow_role) }
  let(:role) { Sipity::Role[:depositor] }
  let(:workflow) { create(:workflow) }
  let(:workflow_role) { Sipity::WorkflowRole.new(role: role, workflow: workflow) }

  describe '#label' do
    subject { presenter.label }

    it { is_expected.to be_a(String) }
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
hyrax-2.6.0 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-3.0.0.pre.rc1 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-3.0.0.pre.beta3 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.5.1 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.5.0 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-3.0.0.pre.beta2 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.4.1 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-3.0.0.pre.beta1 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.4.0 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.3.3 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.3.2 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.3.1 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.3.0 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.0.3 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.2.4 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.2.3 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.2.2 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.2.1 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.2.0 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb
hyrax-2.1.0 spec/presenters/hyrax/admin/workflow_role_presenter_spec.rb