1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Skip DM models test if kaminari-data_mapper is loaded

This commit is contained in:
Akira Matsuda 2016-04-15 01:05:06 +09:00
parent f137cb0577
commit 7ec1b2a3fc

View file

@ -1,6 +1,6 @@
require 'spec_helper'
if defined? DataMapper
if defined?(DataMapper) && !defined?(Kaminari::DataMapper)
# tests for issue #203
describe Kaminari::DataMapperCollectionMethods do
before do