Sha256: e2608ebdb4c2718a810b4a914b238b62d7a10b380df5cba87ae4cbf3500bfda2

Contents?: true

Size: 399 Bytes

Versions: 45

Compression:

Stored size: 399 Bytes

Contents

require 'spec_helper'

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

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

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
qa-5.14.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.13.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.12.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.11.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.10.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.9.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.8.1 spec/lib/authorities/tgnlang_spec.rb
qa-5.8.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.7.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.6.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.5.2 spec/lib/authorities/tgnlang_spec.rb
qa-4.3.0 spec/lib/authorities/tgnlang_spec.rb
qa-3.1.0 spec/lib/authorities/tgnlang_spec.rb
qa-2.3.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.5.1 spec/lib/authorities/tgnlang_spec.rb
qa-5.5.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.4.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.3.1 spec/lib/authorities/tgnlang_spec.rb
qa-5.3.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.2.0 spec/lib/authorities/tgnlang_spec.rb