Port halo/spree_digital to Spree version 2.0.0. Move factories to the correct place (factories.rb) so it can be used/overriden by other modules.
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
SpreeDigital
|
||||
============
|
||||
|
||||
Introduction goes here.
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Add spree_digital to your Gemfile:
|
||||
|
||||
```ruby
|
||||
gem 'spree_digital'
|
||||
```
|
||||
|
||||
Bundle your dependencies and run the installation generator:
|
||||
|
||||
```shell
|
||||
bundle
|
||||
bundle exec rails g spree_digital:install
|
||||
```
|
||||
|
||||
Testing
|
||||
-------
|
||||
|
||||
Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.
|
||||
|
||||
```shell
|
||||
bundle
|
||||
bundle exec rake test_app
|
||||
bundle exec rspec spec
|
||||
```
|
||||
|
||||
When testing your applications integration with this extension you may use it's factories.
|
||||
Simply add this require statement to your spec_helper:
|
||||
|
||||
```ruby
|
||||
require 'spree_digital/factories'
|
||||
```
|
||||
|
||||
Copyright (c) 2013 [name of extension creator], released under the New BSD License
|
||||
Reference in New Issue
Block a user