spec/flydata/helper/config_parser_spec.rb in flydata-0.5.9 vs spec/flydata/helper/config_parser_spec.rb in flydata-0.5.10

- old
+ new

@@ -31,10 +31,15 @@ expect(subject.scheduled_actions).to eq({ check_remote_actions: { check_interval: 30, name: :check_remote_actions + }, + check_abnormal_shutdown: + { + check_interval: 60, + name: :check_abnormal_shutdown } }) end it "should return a copy everytime" do helper_config = subject @@ -63,10 +68,13 @@ workers: 5, helper: { scheduled_actions: { check_remote_actions: { check_interval: '30s' + }, + check_abnormal_shutdown: { + check_interval: '60s' } } } }) end @@ -85,9 +93,12 @@ workers: 2, helper: { scheduled_actions: { check_remote_actions: { check_interval: '1m' + }, + check_abnormal_shutdown: { + check_interval: '60s' } } } }) end