Sha256: 0cca2dc40375a600cb323303d31b271e49b8c72350493c0352a45bdb861196c8

Contents?: true

Size: 208 Bytes

Versions: 4

Compression:

Stored size: 208 Bytes

Contents

require 'spec_helper'

describe Spotlight::RolesHelper, :type => :helper do
  it "should be a list of options" do
    expect(helper.roles_for_select).to eq({"Admin"=>"admin", "Curator"=>"curator"})
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-spotlight-0.4.1 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-0.3.1 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-0.3.0 spec/helpers/spotlight/roles_helper_spec.rb
blacklight-spotlight-0.2.0 spec/helpers/spotlight/roles_helper_spec.rb