Sha256: 3155b19b9b91b5aebb8553963564ba977cf17af887b379d0d1d5b7da61f7e82c

Contents?: true

Size: 371 Bytes

Versions: 6

Compression:

Stored size: 371 Bytes

Contents

require 'spec_helper'

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

  it_behaves_like 'a named object'

  it { should respond_to :level }

  its(:to_xml) { should be_equivalent_to(Nokogiri::XML(<<-XML)) }
    <hierarchy name="Default" primaryKey="id" hasAll="true" allMemberName="All">
      <table name="view_defaults"/>
    </hierarchy>
  XML
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubiks-0.1.8 spec/rubiks/hierarchy_spec.rb
rubiks-0.1.7 spec/rubiks/hierarchy_spec.rb
rubiks-0.1.6 spec/rubiks/hierarchy_spec.rb
rubiks-0.1.5 spec/rubiks/hierarchy_spec.rb
rubiks-0.1.4 spec/rubiks/hierarchy_spec.rb
rubiks-0.1.3 spec/rubiks/hierarchy_spec.rb