Sha256: 1b1a941b8f7be9411a4513efc6a77ebe8c41cb86d809d42358eb8c3f86b0b440

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

require 'capybara'

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

OpenStax::Connect.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

1 entries across 1 versions & 1 rubygems

Version Path
openstax_connect-0.1.0 spec/dummy/config/initializers/openstax_connect.rb