Sha256: 273bac291a7dd1d0071ff718de45989b80e70c02973cd178b0c751823d87852c

Contents?: true

Size: 208 Bytes

Versions: 30

Compression:

Stored size: 208 Bytes

Contents

# frozen_string_literal: true

describe Spotlight::RolesHelper, type: :helper do
  it 'is a list of options' do
    expect(helper.roles_for_select).to eq('Admin' => 'admin', 'Curator' => 'curator')
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.rc4 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.rc3 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.rc2 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.rc1 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.10 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.9 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.8 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.7 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.6 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.5 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.4 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.3 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.2 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.1 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-2.13.0 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-2.12.1 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-2.12.0 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-2.11.0 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-2.10.0 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-2.9.0 spec/helpers/spotlight/roles_helper_spec.rb