Sha256: 09a47db9ab2b73ca93d7124a0c2451055de8870a9a3a880e3f7dd9b770cd7625

Contents?: true

Size: 1.32 KB

Versions: 4

Compression:

Stored size: 1.32 KB

Contents

require './spec/spec_helper'

describe StandardFields do
  before(:each) do 
    @stdfields = StandardFields.new({
      "StreetNumber"=>{"Searchable"=>false}, 
      "ListingId"=>{"Searchable"=>true}, 
      "City"=>{"Searchable"=>true}, 
      "Longitude"=>{"Searchable"=>false}, 
      "StreetName"=>{"Searchable"=>false}, 
      "YearBuilt"=>{"Searchable"=>true}, 
      "BuildingAreaTotal"=>{"Searchable"=>true}, 
      "PublicRemarks"=>{"Searchable"=>false}, 
      "PostalCode"=>{"Searchable"=>true}, 
      "ListPrice"=>{"Searchable"=>true}, 
      "BathsThreeQuarter"=>{"Searchable"=>true}, 
      "Latitude"=>{"Searchable"=>false}, 
      "StreetDirPrefix"=>{"Searchable"=>false}, 
      "StreetAdditionalInfo"=>{"Searchable"=>false}, 
      "PropertyType"=>{"Searchable"=>true}, 
      "StateOrProvince"=>{"Searchable"=>true}, 
      "BathsTotal"=>{"Searchable"=>true}, 
      "BathsFull"=>{"Searchable"=>true}, 
      "ListingKey"=>{"Searchable"=>false}, 
      "StreetDirSuffix"=>{"Searchable"=>false}, 
      "BedsTotal"=>{"Searchable"=>true}, 
      "ModificationTimestamp"=>{"Searchable"=>false}, 
      "BathsHalf"=>{"Searchable"=>true}, 
      "CountyOrParish"=>{"Searchable"=>true}
    })
  end

  it "should respond to get" do
    StandardFields.should respond_to(:get)
  end
  

  after(:each) do 
    @stdfields = nil
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flexmls_api-0.4.5 spec/unit/flexmls_api/models/standard_fields_spec.rb
flexmls_api-0.3.6 spec/unit/flexmls_api/models/standard_fields_spec.rb
flexmls_api-0.3.3 spec/unit/flexmls_api/models/standard_fields_spec.rb
flexmls_api-0.3.2 spec/unit/flexmls_api/models/standard_fields_spec.rb