Sha256: 0adb191f96b8606532eb4c53188761911db65a1065266a313cf818b767bad1f0

Contents?: true

Size: 328 Bytes

Versions: 5

Compression:

Stored size: 328 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)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
split-0.3.1 spec/configuration_spec.rb
split-0.3.0 spec/configuration_spec.rb
split-0.2.4 spec/configuration_spec.rb
split-0.2.3 spec/configuration_spec.rb
split-0.2.2 spec/configuration_spec.rb