mls 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mls/models/listing.rb +1 -1
- data/mls.gemspec +1 -1
- data/test/factories/listing.rb +1 -1
- data/test/units/models/test_listing.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91f9a9e2dcc1c42e2b50633239fbd9552fa4e048
|
4
|
+
data.tar.gz: 95197050270afdab16069e4420fb97769d5e631f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55aee1dfee6f106e73c53d66abd5ea3db18ca3292a08c9702667bca2a812e7bc0cfae8000b522804fdaffde0da8ee6a4a77353afd3d0d78a59e0ce84ac4b993d
|
7
|
+
data.tar.gz: f77bf84bf3a9f1f0d05eff9b474f2080f563d9720a46162db0c51171478dd74cb480756c49a6130b74f9ef79a6b1235dfbb6b94d307c9e85a9cf7e70c0a7a9a2
|
data/lib/mls/models/listing.rb
CHANGED
data/mls.gemspec
CHANGED
data/test/factories/listing.rb
CHANGED
@@ -16,7 +16,7 @@ FactoryGirl.define do
|
|
16
16
|
use 'Office'
|
17
17
|
size { Kernel.rand(3000..900000) }
|
18
18
|
maximum_contiguous_size { Kernel.rand(3000..900000) }
|
19
|
-
|
19
|
+
minimum_divisible_size { Kernel.rand(3000..900000) }
|
20
20
|
type 'lease'
|
21
21
|
#lease_terms { ::MLS::Listing::LEASE_TERMS.sample }
|
22
22
|
space_type 'unit'
|
@@ -18,7 +18,7 @@ class TestListing < ::Test::Unit::TestCase
|
|
18
18
|
assert listing.respond_to?(:comments)
|
19
19
|
assert listing.respond_to?(:size)
|
20
20
|
assert listing.respond_to?(:maximum_contiguous_size)
|
21
|
-
assert listing.respond_to?(:
|
21
|
+
assert listing.respond_to?(:minimum_divisible_size)
|
22
22
|
assert listing.respond_to?(:lease_terms)
|
23
23
|
assert listing.respond_to?(:rate)
|
24
24
|
assert listing.respond_to?(:rate_units)
|