Sha256: ecbc752cf3dab29fc84f00dc1afe9c247342125688134e74f4d8e1c788fbc7f6

Contents?: true

Size: 382 Bytes

Versions: 8

Compression:

Stored size: 382 Bytes

Contents

require 'spec_helper'

describe Wombat::DSL::Property do
  it 'should store property data' do
    property = Wombat::DSL::Property.new("title", *["/some/selector", :html]) { false }
    
    property.wombat_property_name.should == "title"
    property.selector.should == "/some/selector"
    property.format.should == :html
    property.callback.should == lambda { false }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wombat-2.2.1 spec/dsl/property_spec.rb
wombat-2.2.0 spec/dsl/property_spec.rb
wombat-2.1.3 spec/dsl/property_spec.rb
wombat-2.1.2 spec/dsl/property_spec.rb
wombat-2.1.1 spec/dsl/property_spec.rb
wombat-2.1.0 spec/dsl/property_spec.rb
wombat-2.0.1 spec/dsl/property_spec.rb
wombat-2.0.0 spec/dsl/property_spec.rb