1
0
Fork 0
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:
Yuki Nishijima 2014-03-08 23:21:26 -08:00
parent 7ccc80fc49
commit f6d186b7c9

View file

@ -1,6 +1,6 @@
require 'spec_helper'
describe 'Kaminari::ActionViewExtension' do
describe 'Kaminari::ActionViewExtension', :if => defined?(Rails)do
describe '#paginate' do
before do
50.times {|i| User.create! :name => "user#{i}"}