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 0a27a1d05c
commit f0a11f0255
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