Sha256: a94219ded27368661591ee00a05170d90f1f6d758b77c6012b58b29632a8f2e7
Contents?: true
Size: 649 Bytes
Versions: 3
Compression:
Stored size: 649 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Net::LDAP::Filter::FilterParser do describe "#parse" do context "Given ASCIIs as filter string" do let(:filter_string) { "(cn=name)" } specify "should generate filter object" do expect(Net::LDAP::Filter::FilterParser.parse(filter_string)).to be_a Net::LDAP::Filter end end context "Given string including multibyte chars as filter string" do let(:filter_string) { "(cn=名前)" } specify "should generate filter object" do expect(Net::LDAP::Filter::FilterParser.parse(filter_string)).to be_a Net::LDAP::Filter end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
net-ldap-0.6.1 | spec/unit/ldap/filter_parser_spec.rb |
net-ldap-0.6.0 | spec/unit/ldap/filter_parser_spec.rb |
net-ldap-0.5.1 | spec/unit/ldap/filter_parser_spec.rb |