spec/unit/substation/dispatcher/action_names_spec.rb in substation-0.0.1 vs spec/unit/substation/dispatcher/action_names_spec.rb in substation-0.0.2
- old
+ new
@@ -4,10 +4,11 @@
describe Dispatcher, '#action_names' do
subject { object.action_names }
- let(:object) { described_class.new(config) }
+ let(:object) { described_class.new(config, env) }
let(:config) { { :test => { :action => Spec::Action::Success } } }
+ let(:env) { mock }
it { should eql(Set[ :test ]) }
end