mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
s/view_prefix/views_prefix/
This commit is contained in:
parent
05a989f824
commit
f39c0c7124
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ describe 'Kaminari::ActionViewExtension', :if => defined?(::Rails::Railtie) && d
|
|||
it { should match(/bootstrap-page-link/) }
|
||||
end
|
||||
|
||||
context 'accepts :view_prefix option' do
|
||||
context 'accepts :views_prefix option' do
|
||||
before { helper.controller.append_view_path File.join(Gem.loaded_specs['kaminari-core'].gem_dir, 'spec/fake_app/views') }
|
||||
subject { helper.paginate @users, :views_prefix => "alternative/", :params => {:controller => 'users', :action => 'index'} }
|
||||
it { should eq(" <b>1</b>\n") }
|
||||
|
|
Loading…
Reference in a new issue