spec/config_dsl_spec.rb in observed-0.1.1 vs spec/config_dsl_spec.rb in observed-0.2.0.rc1
- old
+ new
@@ -6,13 +6,17 @@
require 'observed/config_builder'
describe Observed::ConfigDSL do
subject {
Observed::ConfigDSL.new(builder: Observed::ConfigBuilder.new(
+ context: context,
observer_plugins: observer_plugins,
reporter_plugins: reporter_plugins,
system: sys
))
+ }
+ let(:context) {
+ Observed::Context.new
}
let(:foo) {
Class.new(Observed::Observer) do
def observe