spec/support/rails5/app.rb in influxdb-rails-1.0.2 vs spec/support/rails5/app.rb in influxdb-rails-1.0.3
- old
+ new
@@ -74,10 +74,10 @@
end
end
class ExceptionsController < ApplicationController
def index
- 1 / 0
+ raise ActiveRecord::RecordNotFound
end
end
Object.const_set(:ApplicationHelper, Module.new)