Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (11 sloc) 315 Bytes

Testing

Create a test site

rails new sandbox -m spec/sandbox_template.rb -J -T

Switch to the test site and run the generator

cd sandbox
rails g spree_core:install

Run the migrations and prepare the test database

rake db:migrate db:seed db:test:prepare

Run the tests

rspec ../spec
Something went wrong with that request. Please try again.