1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Move template to spec/fake_app/views

I believe this template has been added for testing reasons, so I just
moved it to spec/fake_app/views.
This commit is contained in:
Yuki Nishijima 2014-05-08 21:23:30 -07:00
parent 185c680208
commit 6c10587bac
2 changed files with 2 additions and 1 deletions

View file

@ -16,7 +16,8 @@ describe 'Kaminari::ActionViewExtension', :if => defined?(Rails)do
end
end
context 'accepts :view_prefixes option' do
context 'accepts :view_prefix option' do
before { helper.controller.append_view_path "spec/fake_app/views" }
subject { helper.paginate @users, :views_prefix => "alternative/" }
it { should eq("<p>1</p>") }
end