added support for batch creation of gift cards. need to write tests #22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I haven't written the tests yet because I can't get the tests to run and would need some direction. Right now, this code is living in
vendor/spree_gift_card
in my spree app. When I run the rspec tests from the app it doesn't get these tests and if I try and run the tests invendor/spree_gift_card
it doesn't work because it isn't a running environment. Any advice?Also, this is my first attempt at sharing my updates into an existing rails application so if you notice any newbie issues with style or code please let me know.