Sha256: d8c3e657185a44e1046317f482e11388976e62d3ce6c000bb9a0b5984286da56
Contents?: true
Size: 361 Bytes
Versions: 11
Compression:
Stored size: 361 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') rules.should be_an(Array) rules.length.should == 2 end end end
Version data entries
11 entries across 11 versions & 1 rubygems