Sha256: 1267e6ca11be86acb5ab0e07d11234ce836ac58e9d01b0b9f8205454c24049f8
Contents?: true
Size: 734 Bytes
Versions: 3
Compression:
Stored size: 734 Bytes
Contents
require 'spec_helper' describe Appsignal::ToAppsignalHash do subject { notification_event } it { should be_instance_of ActiveSupport::Notifications::Event } it { should respond_to(:to_appsignal_hash) } describe "#to_appsignal_hash" do subject { notification_event.to_appsignal_hash } it { should == { :time => 978364860.0, :duration => 100.0, :end => 978364860.1, :name => "process_action.action_controller", :payload => { :path=>"/blog", :action=>"show", :controller=>"BlogPostsController", :request_format=>"html", :request_method=>"GET", :status=>"200", :view_runtime=>500, :db_runtime=>500 } } } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
appsignal-0.5.3 | spec/appsignal/to_appsignal_hash_spec.rb |
appsignal-0.5.1 | spec/appsignal/to_appsignal_hash_spec.rb |
appsignal-0.5.0 | spec/appsignal/to_appsignal_hash_spec.rb |