Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
unders committed May 27, 2012
1 parent 0e27fbe commit 2cec816
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Expand Up @@ -94,18 +94,17 @@ Or install it yourself as:
## Rspec ## Rspec
Don't put the blueprint file in the support directory, if you do, the blueprint file will be required to early. Don't put the blueprint file in the support directory, if you do, the blueprint file will be required to early.
It should be placed directly in the spec folder: `spec/blueprint.rb` It should be placed directly in the spec folder: `spec/blueprint.rb`
If you do step 3 and 4. Letterpress will add the blueprint file at the right place. If you do as describe below, the blueprint file is placed in the right place.


3. Update config/application.rb 1. Update config/application.rb


```ruby ```ruby
ruby config.generators do |g|
config.generators do |g|
g.test_framework :rspec, :fixture_replacement => :letterpress g.test_framework :rspec, :fixture_replacement => :letterpress
end end
``` ```


4. Generate (test|spec)/blueprint.rb file 2. Generate spec/blueprint.rb file


```ruby ```ruby
rails generate letterpress:install rails generate letterpress:install
Expand Down

0 comments on commit 2cec816

Please sign in to comment.