Sha256: fe15bcc45fe14c9f5db2ede59028337c9723fef9a0a22799a6ec992a74b23377

Contents?: true

Size: 416 Bytes

Versions: 11

Compression:

Stored size: 416 Bytes

Contents

require 'spec_helper'

describe Qa::Authorities::Tgnlang do

  let(:subject) { @terms = Qa::Authorities::Tgnlang.new }

  describe "#search" do
    it "should return unique record with query of Tibetan" do
      expect(subject.search("Tibetan")).to eq([{"id"=>"75446", "label"=>"Tibetan"}])
    end
    it "should return type Array" do
      expect(subject.search("Tibetan")).to be_kind_of(Array)
    end
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
qa-0.10.1 spec/lib/authorities/tgnlang_spec.rb
qa-0.10.0 spec/lib/authorities/tgnlang_spec.rb
qa-0.9.0 spec/lib/authorities/tgnlang_spec.rb
qa-0.8.0 spec/lib/authorities/tgnlang_spec.rb
qa-0.7.0 spec/lib/authorities/tgnlang_spec.rb
qa-0.6.0 spec/lib/authorities/tgnlang_spec.rb
qa-0.5.0 spec/lib/authorities/tgnlang_spec.rb
qa-0.4.3 spec/lib/authorities_tgnlang_spec.rb
qa-0.4.2 spec/lib/authorities_tgnlang_spec.rb
qa-0.4.1 spec/lib/authorities_tgnlang_spec.rb
qa-0.4.0 spec/lib/authorities_tgnlang_spec.rb