Sha256: d9ca2891c6e9dce9953a95da11f94c133563a6437d61b72c555365165330eb3f

Contents?: true

Size: 454 Bytes

Versions: 4

Compression:

Stored size: 454 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.account_user_mapper = User
  config.logout_via = :delete
  config.max_matching_accounts = 47
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openstax_accounts-3.1.1 spec/dummy/config/initializers/openstax_accounts.rb
openstax_accounts-3.1.0 spec/dummy/config/initializers/openstax_accounts.rb
openstax_accounts-3.0.0 spec/dummy/config/initializers/openstax_accounts.rb
openstax_accounts-2.0.0 spec/dummy/config/initializers/openstax_accounts.rb