Sha256: cd74e6da643ea5572dab3f61e8201a5e2dc0a07e169aabe4e9d00dc183c35088
Contents?: true
Size: 382 Bytes
Versions: 13
Compression:
Stored size: 382 Bytes
Contents
require './spec/spec_helper' describe Sort do before(:each) do stub_auth_request end it "should include the finders module" do expect(Sort).to respond_to(:find) end it "should return sorts" do stub_api_get("/searchtemplates/sorts", 'sorts/get.json') sorts = Sort.find(:all) expect(sorts).to be_an(Array) expect(sorts.length).to eq(1) end end
Version data entries
13 entries across 13 versions & 1 rubygems