Sha256: 85f22be210d2ba6130d394672a165cd5640c812dda2b2726bb9413cd3379c1af
Contents?: true
Size: 538 Bytes
Versions: 9
Compression:
Stored size: 538 Bytes
Contents
require 'test_helper' require 'harness/integration/active_model_serializers' class ActiveModelSerializerIntegration < IntegrationTest def test_serializable_hash_is_logged instrument "serializable_hash" assert_gauge_logged "serializable_hash.serializer" end def test_serializing_associations_is_logged instrument "associations" assert_gauge_logged "associations.serializer" end def instrument(event) ActiveSupport::Notifications.instrument "#{event}.serializer" do |*args| # nada end end end
Version data entries
9 entries across 9 versions & 1 rubygems