calendar_subscriptions_spec.rb 275 B

1234567891011
  1. require 'rails_helper'
  2. RSpec.describe 'iCal endpoints', type: :request do
  3. context 'with no existing session' do
  4. it 'gives HTTP Basic auth prompt (#3064)' do
  5. get '/ical/tickets'
  6. expect(response.body).to eq("HTTP Basic: Access denied.\n")
  7. end
  8. end
  9. end