mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Test Kaminari::ActionViewExtension only when Rails is defined
This commit is contained in:
parent
7ccc80fc49
commit
f6d186b7c9
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'Kaminari::ActionViewExtension' do
|
describe 'Kaminari::ActionViewExtension', :if => defined?(Rails)do
|
||||||
describe '#paginate' do
|
describe '#paginate' do
|
||||||
before do
|
before do
|
||||||
50.times {|i| User.create! :name => "user#{i}"}
|
50.times {|i| User.create! :name => "user#{i}"}
|
||||||
|
|
Loading…
Reference in a new issue