unidom-product 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 705714307303adc4495b0e143863ee9165befcf1
|
4
|
+
data.tar.gz: 4e2198da1cda3564309c9edc928a3aaf06a8dadc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f9a88b8618f075c578042bbb553faf5b539d7a3efb1e528ba874cdae577b034528f9c96f6284582712d98a13adc32363e12655848a5249965a9da06f80c2d19
|
7
|
+
data.tar.gz: d9d65e9329932478aef2d795f85e803a0242e80e6d6ad1696d1ea37dc194a4f45b3d250e0347441f777ce091264dc1d8878cb2a9ea0e82cc1aad2ae5cf06f9f3
|
@@ -42,6 +42,17 @@ describe Unidom::Product::ProductAssociating, type: :model do
|
|
42
42
|
|
43
43
|
it_behaves_like 'ProgneTapera::EnumCode', described_class.new(model_attributes), :product_association, Unidom::Product::ProductAssociation
|
44
44
|
|
45
|
+
product_attributes = {
|
46
|
+
name: 'Model X',
|
47
|
+
abbreviation: 'MX',
|
48
|
+
measurement_unit: 'car',
|
49
|
+
packing_norm: '1 car',
|
50
|
+
formset_code: 'WARE'
|
51
|
+
}
|
52
|
+
|
53
|
+
it_behaves_like 'belongs_to', model_attributes, :source, Unidom::Product::Product, product_attributes
|
54
|
+
it_behaves_like 'belongs_to', model_attributes, :target, Unidom::Product::Product, product_attributes
|
55
|
+
|
45
56
|
end
|
46
57
|
|
47
58
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unidom-product
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Topbit Du
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unidom-common
|