Sha256: b87ba4ee68823559ace5fdcc466d709710862476be9c22603e9c2369c4460ebc

Contents?: true

Size: 530 Bytes

Versions: 27

Compression:

Stored size: 530 Bytes

Contents

require 'spec_helper'

describe 'curation_concerns/base/_form_permission.html.erb' do
  let(:curation_concern) { GenericWork.new }
  before do
    f = double('form', object: curation_concern,
                       object_name: nil,
                       input: nil,
                       radio_button: nil)
    render partial: "curation_concerns/base/form_permission", locals: { f: f }
  end

  it 'has a permissions note' do
    expect(rendered).to have_content('Please note, making something visible to the world')
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
curation_concerns-0.12.0.pre8 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.12.0.pre7 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.12.0.pre6 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.12.0.pre5 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.12.0.pre4 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.12.0.pre3 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.12.0.pre2 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb