Sha256: e6c943202ad8fdc4465309a5abbd616b624a7032fffc44be17b34bc47658ad2b

Contents?: true

Size: 379 Bytes

Versions: 4

Compression:

Stored size: 379 Bytes

Contents

require "#{File.dirname(__FILE__)}/../test_helper"

describe EnrichmentDb::Language::Datum do
  it 'should retrieve correct record' do
  	table_name = 'Electronics_Brands'
  	schema_name = 'arabic'
    result = EnrichmentDb::Language::Datum.all(table_name, schema_name)
    test_result = result.keys.first
    expecting = 'Acer'
    assert_equal expecting, test_result
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enrichment_db-0.1.10 test/language/datum_test.rb
enrichment_db-0.1.9 test/language/datum_test.rb
enrichment_db-0.1.8 test/language/datum_test.rb
enrichment_db-0.1.7 test/language/datum_test.rb