Sha256: 2985e82dc323b1e1ba3c3c951ece1af1f73f131180fb1ec9179ba3b5cf08e836
Contents?: true
Size: 1.06 KB
Versions: 29
Compression:
Stored size: 1.06 KB
Contents
require 'test_helper' class ActionControllerIntegration < IntegrationTest def test_logs_write_fragment instrument "write_fragment" assert_gauge_logged "write_fragment.action_controller" end def test_logs_read_fragment instrument "read_fragment" assert_gauge_logged "read_fragment.action_controller" end def test_logs_expire_fragment instrument "expire_fragment" assert_gauge_logged "expire_fragment.action_controller" end def test_logs_write_page instrument "write_page" assert_gauge_logged "write_page.action_controller" end def test_logs_expire_page instrument "expire_page" assert_gauge_logged "expire_page.action_controller" end def test_logs_process_action instrument "process_action" assert_gauge_logged "process_action.action_controller" end def test_logs_send_file instrument "send_file" assert_gauge_logged "send_file.action_controller" end def instrument(event) ActiveSupport::Notifications.instrument "#{event}.action_controller" do |*args| # nada end end end
Version data entries
29 entries across 29 versions & 1 rubygems