Sha256: 8a88eebeaa6d1fae9afddf3692a614dac4dcc64c1504493085f74bad07e5e3c9

Contents?: true

Size: 434 Bytes

Versions: 10

Compression:

Stored size: 434 Bytes

Contents

require 'wml_spec_helper'

describe Weskit::WML::Element do
  include WMLHelpers

  let(:element) { Weskit::WML::Element.new :foo }

  it_should_behave_like 'a container' do
    let(:container) { element }
  end

  it_should_behave_like 'a searchable' do
    let(:searchable) { element }
  end

  it 'can be amending element' do
    element = Weskit::WML::Element.new :foo, :amendment => true
    element.should be_amendment
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
weskit-0.3.6 spec/wml/element_spec.rb
weskit-0.3.5 spec/wml/element_spec.rb
weskit-0.3.4 spec/wml/element_spec.rb
weskit-0.3.3 spec/wml/element_spec.rb
weskit-0.3.2 spec/wml/element_spec.rb
weskit-0.3.1 spec/wml/element_spec.rb
weskit-0.3.0 spec/wml/element_spec.rb
weskit-0.2.1 spec/wml/element_spec.rb
weskit-0.2.0 spec/wml/element_spec.rb
weskit-0.1.0 spec/wml/element_spec.rb