mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Run the Action View extension tests only when ActionView is loaded
This commit is contained in:
parent
907cabe37f
commit
954e4ded7a
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe 'Kaminari::ActionViewExtension', :if => defined?(::Rails::Railtie) do
|
||||
describe 'Kaminari::ActionViewExtension', :if => defined?(::Rails::Railtie) && defined?(::ActionView) do
|
||||
before do
|
||||
helper.output_buffer = ::ActionView::OutputBuffer.new
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue