Re-enable oscillating tests

This commit is contained in:
Sebastian Serth
2021-05-11 12:08:38 +02:00
parent 26151920c0
commit ebdfd4ab63
6 changed files with 32 additions and 9 deletions

View File

@ -1,7 +1,8 @@
# frozen_string_literal: true
require 'rails_helper'
describe 'Authorization' do
before { skip 'feature specs fail randomly as of Nov 2019 on Travis' }
context 'as an admin' do
let(:user) { FactoryBot.create(:admin) }
before(:each) { allow_any_instance_of(ApplicationController).to receive(:current_user).and_return(user) }