#Trailblazer Engine example#
###Steps to re-create this repository:###
- Setup new project:
rails plugin new trailblazer_engine_example --mountable -T --dummy-path=spec/dummy
- Edit gemspec to add rspec and trailblazer gems
- Edit engine.rb to add initializer and trailblazer 'require'
- Install RSpec:
bundle install
,rails generate rspec:install
- Made edits to spec/rails_helper.rb according to: http://blog.honeybadger.io/rails4-engine-controller-specs/ This is necessary to ensure rspec runs.
- Created thing:
rails g model thing name:string
- Created concepts and operations for thing.
- Setup db for test:
rake db:migrate RAILS_ENV=test
- Run
rspec
for tests orspec/dummy/bin/rails s
for running test app