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-0.12.0.pre1 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.11.0 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.11.0.rc1 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.10.0 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.9.0 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.8.0 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.7.0 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.6.0 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.5.0 spec/helpers/curation_concerns/permissions_helper_spec.rb
curation_concerns-0.4.0 spec/helpers/curation_concerns/permissions_helper_spec.rb