14 Commits
Author SHA1 Message Date
Michael Bianco b59415efcf Code, gemspec, and Gemfile cleanup 2012-10-29 12:11:20 -04:00
Michael Bianco 949bd9c6fa Merge branch 'delete-protection' into funkensturm/master
* delete-protection:
  Added config to optionally disable deleting digitals on variant deletion
  Revert "Remove delete digitals on soft delete of variant"
  Adding failing variant spec
  Fixed broken Digital#destroy spec
  Remove delete digitals on soft delete of variant
2012-10-29 11:50:23 -04:00
Michael Bianco d1536aa741 Added config to optionally disable deleting digitals on variant deletion 2012-10-29 11:43:47 -04:00
Michael Bianco aa71a13c0d Adding failing variant spec 2012-10-29 11:09:41 -04:00
Michael Bianco 6f2ad538a1 Fixed broken Digital#destroy spec 2012-10-29 10:53:08 -04:00
Michael Bianco 156f54e909 Adding specs for deletion/destroy on Digital and DigitalLink 2012-08-07 11:16:24 -04:00
Michael Bianco c997f03bc1 Adding initial controller specs. Both failing 2012-08-07 10:48:36 -04:00
Michael Bianco 95e9b97abe Spree 1.1.2 compat. Adding specs for digital shipping 2012-07-09 13:32:45 -04:00
Michael Bianco 049770056d Refactoring digital shipping calculation and display
* removed the deface override that modified the checkout/_delivery partial
* created custom digital delivery calculator
* removed digital_shipping_method from Spree::Order. Moved logic to available_shipping_methods monkey patch

The main goal was to eliminate the shipping method detection logic from the _delivery partial.
This was a bit of a hack all along and didn't really present the correct information to the underlying
order logic (i.e. rate_hash.blank? would return true when there was no shipping options available).
This should be more future proof and make overriding another aspect of the delivery process easier.
2012-06-23 19:29:21 -04:00
Michael Bianco 71340444c1 Tests are passing 2012-06-18 16:58:24 -04:00
Michael Bianco 5cfa1175af Updated testing to use spree 1.1 and new factorygirl syntax 2012-06-07 10:50:40 -04:00
Michael Bianco e652835a5f Added preferences for click amount and valid days on digital links. Tests for authorization are now running 2012-03-31 11:07:52 -04:00
Michael Bianco c4a85b71d7 Updating all tests. All tests are passing 2012-03-30 19:25:07 -04:00
Captain Future e6134722d4 boom 2011-04-17 16:26:36 +02:00