spec/lib/dn_spec.rb in dnc-0.1.5 vs spec/lib/dn_spec.rb in dnc-0.1.6
- old
+ new
@@ -75,10 +75,10 @@
expect(DN.new(dn_string: dn_in, string_order: custom_order).to_s).to eq(dn_out)
end
end
it "should parse common DN formats into DN objects" do
- pending "Implement common DN test strings"
+ #TODO: Integrate the tests from spec/fixtures/common_dns.txt.todo
File.readlines('spec/fixtures/common_dns.txt').each do |line|
dn_in = line.rstrip.split('%')[0]
dn_out = line.rstrip.split('%')[1]
expect(DN.new(dn_string: dn_in).to_s).to eq(dn_out)
end