Sha256: 556ce67f05dbdc5645003d2bce5ce7699c753d9d41a29daf2be53d99955e081f

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

require 'helper'

describe Readability::Configuration do

  after do
    Readability.reset
  end

  Readability::Configuration::VALID_CONFIG_KEYS.each do |key|
    describe ":#{key}" do
      it "should return the default value" do
        Readability.send(key).should be(Readability::Configuration.const_get("DEFAULT_#{key.upcase}"))
      end
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
readability_parser-0.0.2 spec/readability/configuration_spec.rb
readability_parser-0.0.1 spec/readability/configuration_spec.rb