spec/grape-appsignal/middleware_spec.rb in grape-appsignal-0.0.4 vs spec/grape-appsignal/middleware_spec.rb in grape-appsignal-0.0.5
- old
+ new
@@ -14,10 +14,10 @@
let(:event) { @events.pop }
subject { event.payload }
before(:all) do
@events = []
- ActiveSupport::Notifications.subscribe('process_action.grape') do |*args|
+ ActiveSupport::Notifications.subscribe('process_action.api.hello.mark') do |*args|
@events << ActiveSupport::Notifications::Event.new(*args)
end
end
before(:each) do