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:
parent
0a27a1d05c
commit
f0a11f0255
2 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ describe 'Kaminari::ActionViewExtension', :if => defined?(Rails) do
|
||||||
end
|
end
|
||||||
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/" }
|
subject { helper.paginate @users, :views_prefix => "alternative/" }
|
||||||
it { should eq("<p>1</p>") }
|
it { should eq("<p>1</p>") }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue