Sha256: 64a2be401663f7e4c1b3798c00e7edd800f0cae62fd65d29b499c6fa96e48f7c
Contents?: true
Size: 500 Bytes
Versions: 1
Compression:
Stored size: 500 Bytes
Contents
require 'spec_helper' describe TableCloth::Configuration do subject { TableCloth::Configuration.new } let(:options) { TableCloth::Configuration::OPTIONS } it "has accessors for all options" do options.each do |option| expect(subject).to respond_to option end end specify ".configure returns the TableCloth global config" do config = double("config") TableCloth.stub config: config expect {|b| described_class.configure(&b) }.to yield_with_args(config) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
table_cloth-0.3.1.alpha1 | spec/lib/configuration_spec.rb |