pat / combustion

Simple, elegant testing for Rails Engines
MIT License
708 stars 51 forks source link

Allow arbitrary application name #12

Closed egilburg closed 12 years ago

egilburg commented 12 years ago

Currently the application name is 'internal', while in our project (and many other projects by convention) a test application for a plugin/engine is called a "dummy". Would it be possible to have combustion take a config option that allows an arbitrary app name, defaulting it to 'internal' unless overridden?

pat commented 12 years ago

Just pushed a commit so you can configure this - just set the new path before you initialise in your spec_helper.rb:

Combustion.path = 'spec/dummy'
Combustion.initialize!