File tree Expand file tree Collapse file tree 4 files changed +5
-16
lines changed Expand file tree Collapse file tree 4 files changed +5
-16
lines changed Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- patch_ruby (1.2.4 )
4+ patch_ruby (1.2.5 )
55 json (~> 2.1 , >= 2.1.0 )
66 typhoeus (~> 1.0 , >= 1.0.1 )
77
1515 ethon (0.12.0 )
1616 ffi (>= 1.3.0 )
1717 ffi (1.13.1 )
18- json (2.3 .1 )
18+ json (2.4 .1 )
1919 method_source (1.0.0 )
2020 parallel (1.19.2 )
2121 parser (2.7.1.4 )
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def self.openapi_types
4242 :'id' => :'String' ,
4343 :'production' => :'Boolean' ,
4444 :'type' => :'String' ,
45- :'order' => :'AnyOforder '
45+ :'order' => :'Order '
4646 }
4747 end
4848
@@ -239,7 +239,7 @@ def to_hash
239239 is_nullable = self . class . openapi_nullable . include? ( attr )
240240 next if !is_nullable || ( is_nullable && !instance_variable_defined? ( :"@#{ attr } " ) )
241241 end
242-
242+
243243 hash [ param ] = _to_hash ( value )
244244 end
245245 hash
Original file line number Diff line number Diff line change 2424
2525 expect ( estimates . length ) . not_to be_zero
2626 end
27-
28- it 'supports create with a project-id' do
29- retrieve_projects_response = Patch ::Project . retrieve_projects ( page : 1 )
30- project_id = retrieve_projects_response . data . first . id
31- create_estimate_response = Patch ::Estimate . create_mass_estimate ( mass_g : 100 , project_id : project_id )
32- estimate_id = create_estimate_response . data . id
33-
34- expect ( create_estimate_response . success ) . to eq true
35- expect ( create_estimate_response . data . order . id ) . not_to be_nil
36- expect ( create_estimate_response . data . order . mass_g ) . to eq ( 100 )
37- end
3827end
Original file line number Diff line number Diff line change 6565 order = create_order_response . data
6666
6767 expect ( order . id ) . not_to be_nil
68- expect ( order . mass_g ) . to eq ( 5_000_000 )
68+ expect ( order . mass_g ) . to eq ( 5_00_000 )
6969 expect ( order . price_cents_usd . to_i ) . to eq ( 500 )
7070 expect ( order . patch_fee_cents_usd ) . not_to be_empty
7171 expect (
You can’t perform that action at this time.
0 commit comments