Sha256: efe9a2081e3a5b6d2c404b76b30a79c62c8f2c533f02be5f09ccb38e747200c3

Contents?: true

Size: 414 Bytes

Versions: 19

Compression:

Stored size: 414 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', 'spec_helper')

describe TruncateHtml::Configuration do

  describe 'self.configure' do

    it 'yields the configuration object' do
      lambda do
        TruncateHtml.configure do |config|
          config.should be_kind_of(TruncateHtml::Configuration)
          throw :yay_it_yielded
        end
      end.should throw_symbol(:yay_it_yielded)
    end

  end
end

Version data entries

19 entries across 19 versions & 4 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/truncate_html-0.9.2/spec/truncate_html/configuration_spec.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/truncate_html-0.9.2/spec/truncate_html/configuration_spec.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/truncate_html-0.9.2/spec/truncate_html/configuration_spec.rb
truncate_html-0.9.3 spec/truncate_html/configuration_spec.rb
truncate_html_chinese-0.1.0 spec/truncate_html/configuration_spec.rb
truncate_html-0.9.2 spec/truncate_html/configuration_spec.rb
truncate_html-0.9.1 spec/truncate_html/configuration_spec.rb
truncate_html-0.9 spec/truncate_html/configuration_spec.rb
truncate_html_sentence-0.5.6 spec/truncate_html/configuration_spec.rb
truncate_html-0.5.5 spec/truncate_html/configuration_spec.rb
truncate_html-0.5.4 spec/truncate_html/configuration_spec.rb
truncate_html-0.5.3 spec/truncate_html/configuration_spec.rb
truncate_html-0.5.2 spec/truncate_html/configuration_spec.rb
truncate_html-0.5.1 spec/truncate_html/configuration_spec.rb
truncate_html-0.5.0 spec/truncate_html/configuration_spec.rb
truncate_html-0.4.0 spec/truncate_html/configuration_spec.rb
truncate_html-0.3.2 spec/truncate_html/configuration_spec.rb
truncate_html-0.3.1 spec/truncate_html/configuration_spec.rb
truncate_html-0.3.0 spec/truncate_html/configuration_spec.rb