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:
parent
f137cb0577
commit
7ec1b2a3fc
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
if defined? DataMapper
|
if defined?(DataMapper) && !defined?(Kaminari::DataMapper)
|
||||||
# tests for issue #203
|
# tests for issue #203
|
||||||
describe Kaminari::DataMapperCollectionMethods do
|
describe Kaminari::DataMapperCollectionMethods do
|
||||||
before do
|
before do
|
||||||
|
|
Loading…
Reference in a new issue