Sha256: e8307b6144997a719e47f612322353f70be3f119d613713dcc846d27af37f476

Contents?: true

Size: 542 Bytes

Versions: 7

Compression:

Stored size: 542 Bytes

Contents

require "rubygems"
require "bundler/setup"
require "pusher"
require "mongoid"
require "mongoid-rspec"
require "active_record"

Pusher.app_id = "123456"
Pusher.secret = "FAKE"
Pusher.key = "FAKE"

require "pusherable"

Mongoid.configure do |config|
  config.connect_to("pusherable_test")
end
load File.dirname(__FILE__) + "/support/models/mongoid.rb"

ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
load File.dirname(__FILE__) + "/support/schema.rb"
load File.dirname(__FILE__) + "/support/models/sqlite.rb"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pusherable-1.3.0 spec/spec_helper.rb
pusherable-1.2.3 spec/spec_helper.rb
pusherable-1.2.2 spec/spec_helper.rb
pusherable-1.2.1 spec/spec_helper.rb
pusherable-1.2.0 spec/spec_helper.rb
pusherable-1.1.1 spec/spec_helper.rb
pusherable-1.1.0 spec/spec_helper.rb