Sha256: c2be34239ed5756d21fe3d86205e743fba7c71d8659e6718e25e9f53e9853f25
Contents?: true
Size: 585 Bytes
Versions: 27
Compression:
Stored size: 585 Bytes
Contents
require 'spec_helper' require 'rspec-instrumentation-matcher' require 'active_interaction' require 'active_support/all' require 'roqua/core_ext/active_interaction/rails_instrumentation' class AIRailsInstrumentationTest < ActiveInteraction::Base string :foo, default: 'bar' def execute end end describe RoquaRailsActiveInteractionInstrumentation do include RSpec::Instrumentation::Matcher it 'creates an event' do expect { AIRailsInstrumentationTest.run }.to instrument('operation.active_interaction').with( class_name: 'ai_rails_instrumentation_test') end end
Version data entries
27 entries across 27 versions & 1 rubygems