Sha256: b21bac4592f2c3ce8ec5d030a5f2e930841c4fa44cc43dd21f6cdd29f4c8c21b

Contents?: true

Size: 421 Bytes

Versions: 30

Compression:

Stored size: 421 Bytes

Contents

require 'spec_helper'

describe CurationConcerns::PermissionsHelper do
  describe "#help_link" do
    subject { helper.help_link 'curation_concerns/base/visibility', 'Visibility', 'Usage information for visibility' }

    it "draws help_icon" do
      expect(subject).to match(/data-content="<p>This setting will determine who can view your file/)
      expect(subject).to have_selector 'a i.help-icon'
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
curation_concerns-1.0.0.beta4 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-1.0.0.beta3 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-1.0.0.beta2 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-1.0.0.beta1 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.14.0 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.14.0.pre4 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.14.0.pre3 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.14.0.pre2 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.14.0.pre1 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.13.1 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.13.0 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.12.0 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.12.0.pre9 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.12.0.pre8 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.12.0.pre7 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.12.0.pre6 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.12.0.pre5 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.12.0.pre4 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.12.0.pre3 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.12.0.pre2 spec/helpers/curation_concerns/permissions_helper_spec.rb