README.md
Spree Refinery Resources
======================
[![Build Status](https://travis-ci.org/bisscomm/spree_refinery_resources.svg?branch=master)](https://travis-ci.org/refinery/refinerycms) [![Code Climate](https://codeclimate.com/github/bisscomm/spree_refinery_resources/badges/gpa.svg)](https://codeclimate.com/github/bisscomm/spree_refinery_resources) [![Test Coverage](https://codeclimate.com/github/bisscomm/spree_refinery_resources/badges/coverage.svg)](https://codeclimate.com/github/bisscomm/spree_refinery_resources/coverage)
This extension add the ability to attach `Refinery::Resource` files to a `Spree::Product`.
Installation
------------
Add spree_refinery_resources to your Gemfile:
```ruby
gem 'spree_refinery_resources'
```
Bundle your dependencies and run the installation generator:
```shell
bundle
bundle exec rails g spree_refinery_resources:install
```
Testing
-------
First bundle your dependencies, then run `rake`. `rake` will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using `rake test_app`.
```shell
bundle
bundle exec rake
```
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_refinery_resources/factories'
```
Copyright (c) 2015 Bissonnette Communications Impact, released under the New BSD License