While testing Subscriptions against the sandbox I noticed that Subscription#create_from_element was calling Item#create_from_element without passing the shopping cart, which causes ArgumentError: wrong number of arguments (1 for 2) to be thrown from deep inside shared.rb.
I fixed the incorrect usage and added a test case for Item::Subscription#create_from_element.
While testing Subscriptions against the sandbox I noticed that
Subscription#create_from_element
was callingItem#create_from_element
without passing the shopping cart, which causesArgumentError: wrong number of arguments (1 for 2)
to be thrown from deep insideshared.rb
.I fixed the incorrect usage and added a test case for
Item::Subscription#create_from_element
.