spec/lib/registry_spec.rb in hieracles-0.3.5 vs spec/lib/registry_spec.rb in hieracles-0.3.6
- old
+ new
@@ -40,11 +40,11 @@
] }
let(:config) { Hieracles::Config.new options }
it { expect(Hieracles::Registry.modules config).to eq expected }
end
- describe '.nodes_data' do
+ describe '.nodes_parameters' do
let(:expected) {
{
'server.example.com' => {
'country' => 'fr',
'datacenter' => 'equinix',
@@ -66,10 +66,10 @@
'farm' => 'dev2'
}
}
}
let(:config) { Hieracles::Config.new options }
- it { expect(Hieracles::Registry.nodes_data config).to eq expected }
+ it { expect(Hieracles::Registry.nodes_parameters config).to eq expected }
end
describe '.farms_counted' do
let(:expected) {
{