Sha256: 01bd734d73bd49bf2bee94f82970c14303f612258d540a43f1cbf09b27d3bb28

Contents?: true

Size: 274 Bytes

Versions: 9

Compression:

Stored size: 274 Bytes

Contents

require 'spec_helper'

describe ::Rubiks::Dimension do
  subject { described_class.new }

  it_behaves_like 'a named object'

  its(:to_xml) { should be_equivalent_to(Nokogiri::XML(<<-XML)) }
    <dimension name="Default" foreignKey="default_id">
    </dimension>
  XML
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rubiks-0.1.8 spec/rubiks/dimension_spec.rb
rubiks-0.1.7 spec/rubiks/dimension_spec.rb
rubiks-0.1.6 spec/rubiks/dimension_spec.rb
rubiks-0.1.5 spec/rubiks/dimension_spec.rb
rubiks-0.1.4 spec/rubiks/dimension_spec.rb
rubiks-0.1.3 spec/rubiks/dimension_spec.rb
rubiks-0.1.2 spec/rubiks/dimension_spec.rb
rubiks-0.1.1 spec/rubiks/dimension_spec.rb
rubiks-0.1.0 spec/rubiks/dimension_spec.rb