Sha256: 01265eb2d187fb5e1c8609b692a9808f586219bfb30a88b7d9fe0bb8daf48e1f

Contents?: true

Size: 489 Bytes

Versions: 7

Compression:

Stored size: 489 Bytes

Contents

require 'spec_helper'

module LiteXBRL
  module TDnet
    describe CompanyAttribute do
      include CompanyAttribute

      describe '#attributes_company' do
        it do
          self.code = "1111"
          self.company_name = "Aaa"
          self.consolidation = 1

          attr = attributes_company

          expect(attr[:code]).to eq "1111"
          expect(attr[:company_name]).to eq "Aaa"
          expect(attr[:consolidation]).to eq 1
        end
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
litexbrl-0.2.2 spec/tdnet/company_attribute_spec.rb
litexbrl-0.2.1 spec/tdnet/company_attribute_spec.rb
litexbrl-0.2.0 spec/tdnet/company_attribute_spec.rb
litexbrl-0.1.3 spec/tdnet/company_attribute_spec.rb
litexbrl-0.1.2 spec/tdnet/company_attribute_spec.rb
litexbrl-0.1.1 spec/tdnet/company_attribute_spec.rb
litexbrl-0.1.0 spec/tdnet/company_attribute_spec.rb