Sha256: 4102c1a7559b299bb4e4d83c943496e885226050bb999662f6538e076552589e

Contents?: true

Size: 428 Bytes

Versions: 13

Compression:

Stored size: 428 Bytes

Contents

require 'spec_helper'

describe 'curation_concerns/permissions/confirm.html.erb', :no_clean, type: :view do
  let(:curation_concern) { stub_model(GenericWork) }

  before do
    allow(view).to receive(:curation_concern).and_return(curation_concern)
  end

  it 'renders the confirmation page' do
    render
    page = Capybara::Node::Simple.new(rendered)
    expect(page).to have_content("Apply changes to contents?")
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sufia-7.4.1 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
sufia-7.4.0 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
sufia-7.3.1 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
sufia-7.3.0 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
sufia-7.3.0.rc3 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
sufia-7.3.0.rc2 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
sufia-7.3.0.rc1 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
sufia-7.2.0 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
sufia-7.1.0 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
sufia-7.0.0 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
sufia-7.0.0.rc2 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
sufia-7.0.0.rc1 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
sufia-7.0.0.beta4 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb