diff --git a/spec/manager_spec.rb b/spec/manager_spec.rb index fa6910f0a..4eea4514a 100644 --- a/spec/manager_spec.rb +++ b/spec/manager_spec.rb @@ -15,12 +15,14 @@ _(result['csv']).must_equal Oxidized::Source::CSV Oxidized.config.source.http.url = 'http://localhost/nodes' + Oxidized.config.source.http.map.name = 'name' result = Oxidized.mgr.add_source('http') _(result['http']).must_equal Oxidized::Source::HTTP end it 'differentiates between http classes' do Oxidized.config.source.http.url = 'http://localhost/nodes' + Oxidized.config.source.http.map.name = 'name' result = Oxidized.mgr.add_source('http') _(result['http']).must_equal Oxidized::Source::HTTP