Sha256: 2707933031dcf4827e75202f72aebc27e75fc24560188def0b772a383bbb945e
Contents?: true
Size: 694 Bytes
Versions: 2
Compression:
Stored size: 694 Bytes
Contents
require 'spec_helper' require 'apache/apachify' describe Apache::Apachify, "extends objects to apachify themselves" do it "should Apachify the name" do [ %w{test Test}, %w{test_full_name TestFullName}, %w{ssl_option SSLOption}, %w{exec_cgi ExecCGI}, %w{authz_ldap_authoritative AuthzLDAPAuthoritative}, %w{authz_ldap_url AuthzLDAPURL}, [ ["name", "other_name"], [ 'Name', 'OtherName' ] ] ].each do |input, output| input.apachify.should == output end end it "should optionify the symbol" do [ [ :not_multiviews, '-Multiviews' ] ].each do |symbol, output| symbol.optionify.should == output end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
apache-config-generator-0.2.7 | spec/apache/apachify_spec.rb |
apache-config-generator-0.2.6 | spec/apache/apachify_spec.rb |