Sha256: 27c6ac1a732fc881106b96dad097146b80753f968cad71bd397e002057ca514b

Contents?: true

Size: 682 Bytes

Versions: 1

Compression:

Stored size: 682 Bytes

Contents

ENV['APPLICATION_CLIENT_ID'] = 'dddc188f84e348ddae69f17dd63e758ded4cc24abed435a53db9525db2cd7af45f0'
ENV['APPLICATION_CLIENT_SECRET'] = 'e35b8e02901a3ca1b5b1e0c4cf3e1e6dbd1855de4684bd95175721428816ae96'
ENV['APPLICATION_SCOPES_REQUESTED'] = 'public'
ENV['OAUTH_BASE_URL'] = 'http://localhost:3000'
ENV['SESSION_KEY'] = 'Set a key'
ENV['USER_ATTRIBUTES'] = 'id full_name email'
ENV['RACK_ENV'] = 'test'

require 'bundler'
require 'rubygems' unless defined?(Gem)
Bundler.require(:default, ENV['RACK_ENV'].to_sym)
require 'addressable/uri'
require 'pp'
require 'rack/test'
require 'sinatra/auth/oauthed'
require 'app'

RSpec.configure do |conf|
  conf.include Rack::Test::Methods
end
 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinatra_auth_oauthed-0.0.2 spec/spec_helper.rb