Sha256: 4dff2d3e4772f46e05d74c949a86e85793283947bc5c1c9e5e1c2f33fec3e417

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

require 'spec_helper'

module PivotTable
  describe Configuration do

    subject { described_class.new opts }

    let(:opts) { { :sort => true, :other_setting => 'on' } }

    its(:sort) { should be_true }
    its(:other_setting) { should == 'on' }

    context 'when setting does not exist' do
      its(:i_do_not_exist) { should be_nil }
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pivot_table-0.2.0 spec/pivot_table/configuration_spec.rb