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-1.0.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-1.0.0.beta10 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-1.0.0.beta9 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-1.0.0.beta8 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-1.0.0.beta7 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-1.0.0.beta6 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-1.0.0.beta5 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-1.0.0.beta4 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-1.0.0.beta3 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-1.0.0.beta2 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-1.0.0.beta1 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.14.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.14.0.pre4 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.14.0.pre3 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.14.0.pre2 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.14.0.pre1 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.13.1 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.13.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.12.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.12.0.pre9 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb