spec/flipper/instrumentation/metriks_subscriber_spec.rb in flipper-0.11.0.beta1 vs spec/flipper/instrumentation/metriks_subscriber_spec.rb in flipper-0.11.0.beta3
- old
+ new
@@ -9,10 +9,10 @@
end
let(:flipper) do
Flipper.new(adapter, instrumenter: ActiveSupport::Notifications)
end
- let(:user) { user = Struct.new(:flipper_id).new('1') }
+ let(:user) { user = Flipper::Actor.new('1') }
before do
Metriks::Registry.default.clear
end