Commit 0e7d5e4cceb151024e62b361848026d8273be033

Authored by Andrew Kane
2 parents 2b5f2366 7cc7fdd8

Merge branch 'master' of https://github.com/nviennot/searchkick into nviennot-master

Showing 1 changed file with 2 additions and 12 deletions   Show diff stats
test/test_helper.rb
... ... @@ -74,19 +74,9 @@ if defined?(Mongoid)
74 74 class Cat < Animal
75 75 end
76 76 elsif defined?(NoBrainer)
77   - #
78   - # Aliasing create bang.
79   - #
80   - module NoBrainer::Document::Persistance
81   - extend ActiveSupport::Concern
82   -
83   - module ClassMethods
84   - alias :create! :create
85   - end
86   - end
87   -
88 77 NoBrainer.configure do |config|
89   - config.rethinkdb_url = 'rethinkdb://localhost/searchkick_test'
  78 + config.app_name = :searchkick
  79 + config.environment = :test
90 80 end
91 81  
92 82 class Product
... ...