diff --git a/spec/acceptance/route53_spec.rb b/spec/acceptance/route53_spec.rb index f5ba46cd..1f48996c 100644 --- a/spec/acceptance/route53_spec.rb +++ b/spec/acceptance/route53_spec.rb @@ -376,7 +376,7 @@ def find_record(name, zone, type) r = PuppetManifest.new(@template, config).apply expect(r[:output].any?{|x| x.include? 'Error'}).to eq(false) record = find_record(config[:ns_record_name], @zone, 'NS') - expect(record.resource_records.map(&:values).flatten).to eq(config[:ns_values]) + expect(record.resource_records.map(&:values).flatten.to_set).to eq(config[:ns_values].to_set) end end