spec/apps/rails/dummy_app.rb in airbrake-8.0.1 vs spec/apps/rails/dummy_app.rb in airbrake-8.1.0
- old
+ new
@@ -105,9 +105,10 @@
]
def index; end
def crash
+ Book.create(title: 'book')
raise AirbrakeTestError
end
def notify_airbrake_helper
notify_airbrake(AirbrakeTestError.new)