Run kaminari-core's spec/support

This commit is contained in:
Akira Matsuda 2016-10-05 22:23:18 +09:00
parent 2f525f19e0
commit 02c9e57b0e
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ end
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
Dir["#{File.join(Gem.loaded_specs['kaminari-core'].gem_dir, 'spec')}/support/**/*.rb"].each {|f| require f}
RSpec.configure do |config|
config.mock_with :rr