README.md in combustion-0.5.1 vs README.md in combustion-0.5.2
- old
+ new
@@ -8,14 +8,14 @@
Get the gem into either your gemspec or your Gemfile, depending on how you manage your engine's dependencies:
```ruby
# gemspec
-gem.add_development_dependency 'combustion', '~> 0.5.1'
+gem.add_development_dependency 'combustion', '~> 0.5.2'
# Gemfile
-gem 'combustion', '~> 0.5.1', :group => :test
+gem 'combustion', '~> 0.5.2', :group => :test
```
In your `spec_helper.rb`, get Combustion to set itself up - which has to happen before you introduce `rspec/rails` and - if being used - `capybara/rails`. Here's an example within context:
```ruby
@@ -23,11 +23,11 @@
require 'bundler/setup'
require 'combustion'
require 'capybara/rspec'
-Combustion.initialize!
+Combustion.initialize! :all
require 'rspec/rails'
require 'capybara/rails'
RSpec.configure do |config|
@@ -53,11 +53,11 @@
If you want your app to be located somewhere other than `spec/internal`, then make sure you configure it before you call `Combustion.initialize!`:
```ruby
Combustion.path = 'spec/dummy'
-Combustion.initialize!
+Combustion.initialize! :all
```
### Configuring which Rails modules should be loaded.
@@ -106,10 +106,10 @@
Name the file structure.sql and configure Combustion to use it before initialising:
```ruby
Combustion.schema_format = :sql
-Combustion.initialize!
+Combustion.initialize! :all
```
Any models that aren't provided by your engine should be located at `spec/internal/app/models`.
### Using ActionController and ActionView