Sha256: 5c42157c38c96e652f67d48e99cfdd29ff79bfa82d9d5468d7365ed55d775e36

Contents?: true

Size: 442 Bytes

Versions: 12

Compression:

Stored size: 442 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)
    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

12 entries across 12 versions & 1 rubygems

Version Path
curation_concerns-0.12.0.pre1 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.11.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.11.0.rc1 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.10.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.9.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.8.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.7.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.6.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.5.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.4.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.3.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
curation_concerns-0.2.0 spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb