Sha256: 5a0ba8965c69a706d6b0b9d3ea02fe0bef011aa9d446eadae9a0638a0c003ce4
Contents?: true
Size: 576 Bytes
Versions: 1
Compression:
Stored size: 576 Bytes
Contents
require 'rails_helper' RSpec.describe 'Events', type: :system do include Devise::Test::IntegrationHelpers fixtures :all describe 'When not logged in', solr: true do before(:each) do Event.reindex end it 'should contain query params in the facet' do visit events_path(query: 'test') expect(page).to have_link 'Kamata Library', href: events_path(library_id: 'kamata', query: 'test') end it 'should export events in txt format' do visit events_path(format: :txt) expect(page).to have_content 'kamata' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_event-0.4.0.rc.1 | spec/system/events_spec.rb |