Sha256: 381ea796257f83dc58998e4c06576d0bf7cde56ad15f7c81983e4a36fe342293

Contents?: true

Size: 450 Bytes

Versions: 6

Compression:

Stored size: 450 Bytes

Contents

require 'active_record'
require 'kaminari/grape'

require 'rrrspec'
require 'rrrspec/server'
require 'rrrspec/web/persistent_models'
require 'rrrspec/web/api'
require 'rrrspec/web/app'
require 'rrrspec/web/configuration'

RRRSpec.configuration = RRRSpec::Web::WebConfiguration.new

module RRRSpec
  module Web
    def self.setup
      ActiveRecord::Base.establish_connection(
        **RRRSpec.configuration.persistence_db
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rrrspec-web-0.3.0 lib/rrrspec/web.rb
rrrspec-web-0.2.4 lib/rrrspec/web.rb
rrrspec-web-0.2.3 lib/rrrspec/web.rb
rrrspec-web-0.2.2 lib/rrrspec/web.rb
rrrspec-web-0.2.1 lib/rrrspec/web.rb
rrrspec-web-0.2.0 lib/rrrspec/web.rb