Sha256: 64a46c2dc470cd25ca7b62f9f7ab58ccd31ae8816934377560e9b35c51a0f543
Contents?: true
Size: 350 Bytes
Versions: 8
Compression:
Stored size: 350 Bytes
Contents
shared_context 'with a running app' do let(:app) { <%= app_name.classify %>::Application.instance } end shared_context 'with token authorization' do before(:each) do permitted_token = ENV['PERMITTED_TOKENS'].dup.gsub!(/[\[\]]/, '').split(/\s*,\s*/).first if ENV['PERMITTED_TOKENS'] header 'Http-Authorization', permitted_token end end
Version data entries
8 entries across 8 versions & 1 rubygems