Sha256: 2b85555188dbe44c04a08c3885e52a3e53d2e0f192c52e68198841dc643f04cd

Contents?: true

Size: 404 Bytes

Versions: 10

Compression:

Stored size: 404 Bytes

Contents

require 'wml_spec_helper'

describe Weskit::WML::Items do
  include WMLHelpers

  let(:items) { Weskit::WML::Items.new }

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

  it 'has contents formatter' do
    expect { items.formatter = Weskit::WML::Formatter.color }.to change { items.formatter }.from(Weskit::WML::Formatter.default).to(Weskit::WML::Formatter.color)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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