Sha256: b3baa6eda868ea8526dc7f87ab6d7b4e3496f3b939539eec367ba06c18c24933

Contents?: true

Size: 470 Bytes

Versions: 11

Compression:

Stored size: 470 Bytes

Contents

require 'rails_helper'

RSpec.describe 'Reserves', type: :system do
  include Devise::Test::IntegrationHelpers
  fixtures :all

  describe 'When logged in as Librarian' do
    it 'should contain user information' do
      sign_in users(:librarian1)
      visit reserves_path(format: :txt)
      expect(page).to have_content reserves(:reserve_00001).user.username
      expect(page).to have_content reserves(:reserve_00001).manifestation.original_title
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
enju_circulation-0.3.9 spec/system/reserves_spec.rb
enju_circulation-0.4.0.rc.1 spec/system/reserves_spec.rb
enju_circulation-0.3.8 spec/system/reserves_spec.rb
enju_circulation-0.3.7 spec/system/reserves_spec.rb
enju_circulation-0.4.0.beta.4 spec/system/reserves_spec.rb
enju_circulation-0.4.0.beta.3 spec/system/reserves_spec.rb
enju_circulation-0.3.6 spec/system/reserves_spec.rb
enju_circulation-0.4.0.beta.2 spec/system/reserves_spec.rb
enju_circulation-0.4.0.beta.1 spec/system/reserves_spec.rb
enju_circulation-0.3.5 spec/system/reserves_spec.rb
enju_circulation-0.3.4 spec/system/reserves_spec.rb