Sha256: 7ee0447e12093a6a7c7af20a1f8cdd0f02bdab1d572022ba22e1c4705e279e14

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

require 'spec_helper'

describe 'curation_concerns/permissions/confirm.html.erb', :no_clean 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

1 entries across 1 versions & 1 rubygems

Version Path
sufia-7.0.0.beta3 spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb