Sha256: e11a84cb04ebcb9f0e9c7ba91a59ad9da468f227a5ad81d971e241b45d961e01
Contents?: true
Size: 420 Bytes
Versions: 2
Compression:
Stored size: 420 Bytes
Contents
require 'spec_helper' describe Split::Configuration do it "should provide default values" do config = Split::Configuration.new config.ignore_ip_addresses.should eql([]) config.robot_regex.should eql(/\b(Baidu|Gigabot|Googlebot|libwww-perl|lwp-trivial|msnbot|SiteUptime|Slurp|WordPress|ZIBB|ZyBorg)\b/i) config.db_failover.should be_false config.db_failover_on_db_error.should be_a Proc end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
split-0.3.3 | spec/configuration_spec.rb |
split-0.3.2 | spec/configuration_spec.rb |