Sha256: 8a5ddf00f053b869b30bbc9266df9594ee242de1cb6695d14f3c96320ef0b298
Contents?: true
Size: 385 Bytes
Versions: 4
Compression:
Stored size: 385 Bytes
Contents
require 'spec_helper' module PivotTable describe Configuration do subject { described_class.new opts } let(:opts) { { :sort => true, :other_setting => 'on' } } its(:sort) { is_expected.to eq true } its(:other_setting) { is_expected.to eq 'on' } context 'when setting does not exist' do its(:i_do_not_exist) { is_expected.to be_nil } end end end
Version data entries
4 entries across 4 versions & 1 rubygems