Sha256: b4d1d1992b9867788b4d3b14bc0372c96ea652a97c214be2868d6d88f46073a4

Contents?: true

Size: 249 Bytes

Versions: 1

Compression:

Stored size: 249 Bytes

Contents

shared_examples_for 'check DSL method' do
  let(:checkbox) { dsl.check }

  it 'should be a checkbox' do
    checkbox.should be_instance_of Shoes::Check
  end

  it 'should be unchecked by default' do
    checkbox.checked?.should be_false
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.pre1 spec/shoes/shared_examples/dsl/check.rb