Sha256: 3b2daaca000e2828442a5bf70d822b4d9e231fc30c3dc9e91941c550cd1c5455

Contents?: true

Size: 381 Bytes

Versions: 5

Compression:

Stored size: 381 Bytes

Contents

require 'capybara'

# Initializes a Capybara server running the Dummy app
CAPYBARA_SERVER = Capybara::Server.new(Rails.application).boot

OpenStax::Accounts.configure do |config|
  config.openstax_accounts_url = "http://localhost:#{CAPYBARA_SERVER.port}/"
  config.openstax_application_id = 'secret'
  config.openstax_application_secret = 'secret'
  config.logout_via = :delete
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openstax_accounts-0.3.0 spec/dummy/config/initializers/openstax_accounts.rb
openstax_accounts-0.3 spec/dummy/config/initializers/openstax_accounts.rb
openstax_accounts-0.2.1 spec/dummy/config/initializers/openstax_accounts.rb
openstax_accounts-0.2.0 spec/dummy/config/initializers/openstax_accounts.rb
openstax_accounts-0.1.0 spec/dummy/config/initializers/openstax_accounts.rb