lib/wcc/contentful/store/rspec_examples/include_param.rb in wcc-contentful-1.2.0 vs lib/wcc/contentful/store/rspec_examples/include_param.rb in wcc-contentful-1.2.1
- old
+ new
@@ -13,13 +13,15 @@
'contentType' => { 'sys' => { 'id' => 'root' } }
},
'fields' => {
'name' => { 'en-US' => 'root' },
'link' => { 'en-US' => make_link_to('deep1') },
- 'links' => { 'en-US' => [
- make_link_to('shallow3'),
- make_link_to('deep2')
- ] }
+ 'links' => {
+ 'en-US' => [
+ make_link_to('shallow3'),
+ make_link_to('deep2')
+ ]
+ }
}
}
end
def shallow(id = nil) # rubocop:disable Naming/UncommunicativeMethodParamName