Sha256: 80e46b8897eea104066504bed01ec9d06318d66b86fd4e94b4f97ef2e36cde55

Contents?: true

Size: 432 Bytes

Versions: 5

Compression:

Stored size: 432 Bytes

Contents

require 'spec_helper'

describe Qa::Authorities::Tgnlang do

  before :all do
    @terms = Qa::Authorities::Tgnlang.new
    @terms.search("Tibetan")
  end

  describe "response from dataset" do
    it "should return unique record with query of Tibetan" do
      @terms.results.should == [{"id"=>"75446", "label"=>"Tibetan"}]
    end
    it "should return type Array" do
      @terms.results.class.should == Array
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
qa-0.3.0 spec/lib/authorities_tgnlang_spec.rb
qa-0.2.1 spec/lib/authorities_tgnlang_spec.rb
qa-0.1.0 spec/lib/authorities_tgnlang_spec.rb
qa-0.0.3 spec/lib/authorities_tgnlang_spec.rb
qa-0.0.2 spec/lib/authorities_tgnlang_spec.rb