Sha256: 1d5f2997d7ccbf25afb854c52b842ff083fa005069d3cb284f11c4137fc20ace

Contents?: true

Size: 380 Bytes

Versions: 5

Compression:

Stored size: 380 Bytes

Contents

require 'spec_helper'

describe 'generic_files/_browse_everything.html.erb', type: :view do
  before do
    assign(:user_collections, [])
  end

  it 'shows user timing warning' do
    render
    page = Capybara::Node::Simple.new(rendered)
    expect(page).to have_selector('div.alert-success', text: /Please note that if you upload a large number of files/i, count: 1)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sufia-6.7.0 spec/views/generic_file/_browse_everything.html.erb_spec.rb
sufia-6.6.1 spec/views/generic_file/_browse_everything.html.erb_spec.rb
sufia-6.6.0 spec/views/generic_file/_browse_everything.html.erb_spec.rb
sufia-6.5.0 spec/views/generic_file/_browse_everything.html.erb_spec.rb
sufia-6.4.0 spec/views/generic_file/_browse_everything.html.erb_spec.rb