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.1.0 spec/lib/authorities/tgnlang_spec.rb
qa-5.0.0 spec/lib/authorities/tgnlang_spec.rb
qa-4.2.4 spec/lib/authorities/tgnlang_spec.rb
qa-4.2.3 spec/lib/authorities/tgnlang_spec.rb
qa-4.2.2 spec/lib/authorities/tgnlang_spec.rb
qa-4.2.1 spec/lib/authorities/tgnlang_spec.rb
qa-4.2.0 spec/lib/authorities/tgnlang_spec.rb
qa-4.1.1 spec/lib/authorities/tgnlang_spec.rb
qa-4.1.0 spec/lib/authorities/tgnlang_spec.rb
qa-4.0.0 spec/lib/authorities/tgnlang_spec.rb
qa-4.0.0.rc3 spec/lib/authorities/tgnlang_spec.rb
qa-4.0.0.rc2 spec/lib/authorities/tgnlang_spec.rb
qa-4.0.0.rc1 spec/lib/authorities/tgnlang_spec.rb
qa-3.0.0 spec/lib/authorities/tgnlang_spec.rb
qa-2.2.0 spec/lib/authorities/tgnlang_spec.rb
qa-2.1.2 spec/lib/authorities/tgnlang_spec.rb
qa-2.1.1 spec/lib/authorities/tgnlang_spec.rb
qa-2.0.1 spec/lib/authorities/tgnlang_spec.rb
qa-2.0.0 spec/lib/authorities/tgnlang_spec.rb
qa-1.2.0 spec/lib/authorities/tgnlang_spec.rb