Sha256: 95aff30bff38804865a68f343a2218170bcd9c4f068df15496018e98fee36417

Contents?: true

Size: 495 Bytes

Versions: 1

Compression:

Stored size: 495 Bytes

Contents

require 'spec_helper'

describe Qa::Authorities::Tgnlang do

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

  describe "response from dataset" do
    it "should return size 34 with query of Tibetan" do
      @terms.results.size.should == 34
    end
    it "should return type string" do
      @terms.results.class.name.should == "String"
    end
    it "should return a string it contains" do
      @terms.results["Tibetan"].should == "Tibetan"
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qa-0.0.1 spec/lib/authorities_tgnlang_spec.rb