lib/neo/rails/presenter/test_helper.rb in neo-rails-0.1.1 vs lib/neo/rails/presenter/test_helper.rb in neo-rails-0.1.2
- old
+ new
@@ -13,10 +13,10 @@
include ActionView::Helpers::UrlHelper
include ActionView::Helpers::TranslationHelper
include ActionView::Helpers::NumberHelper
begin
include Sprockets::Rails::Helper
- rescue LoadError
+ rescue NameError
include Sprockets::Helpers::RailsHelper
include Sprockets::Helpers::IsolatedHelper
end
include ::Rails.application.routes.url_helpers