Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed README for preload files configuration #122

Merged
merged 1 commit into from

2 participants

@miyagawa

README files has Commands::Command::Rspec.preloads = which doesn't seem to work.

@jonleighton jonleighton merged commit ac43a05 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 11, 2013
  1. @miyagawa
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 3 deletions.
  1. +4 −3 README.md
View
7 README.md
@@ -1,3 +1,4 @@
+
# Spring
[![Build Status](https://travis-ci.org/jonleighton/spring.png?branch=master)](https://travis-ci.org/jonleighton/spring)
@@ -276,13 +277,13 @@ preloads for every command:
```ruby
# if your test helper is called "helper"
-Commands::Command::TestUnit.preloads = %w(helper)
+Spring::Commands::TestUnit.preloads = %w(helper)
# if you don't want to preload spec_helper.rb
-Commands::Command::RSpec.preloads = []
+Spring::Commands::RSpec.preloads = []
# if you want to preload additional files for the console
-Commands::Command::RailsConsole.preloads << 'extenstions/console_helper'
+Spring::Commands::RailsConsole.preloads << 'extenstions/console_helper'
```
### after fork callbacks
Something went wrong with that request. Please try again.