Sha256: ac99baffb657c1c38037cf6d627040bb15cba801a5a02ee5890de58117f4a28e
Contents?: true
Size: 370 Bytes
Versions: 12
Compression:
Stored size: 370 Bytes
Contents
require './spec/spec_helper' describe Rule do describe 'for_property_type' do on_get_it "should get documents for a listing" do stub_auth_request stub_api_get('/listings/rules/propertytypes/A','rules/get.json') rules = Rule.for_property_type('A') expect(rules).to be_an(Array) expect(rules.length).to eq(2) end end end
Version data entries
12 entries across 12 versions & 1 rubygems