Sha256: 907878af8f60373fb0bd3a1c75ab7885444d79ae6a4570d3943238c0df4fcf2f
Contents?: true
Size: 349 Bytes
Versions: 3
Compression:
Stored size: 349 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
3 entries across 3 versions & 1 rubygems