Skip to content

Commit 6899346

Browse files
committed
Update README to have correct test command.
Using rails 4.2.0, the generated tests are in test/controllers, not tests/functional. Updated documentation to accurately reflect this.
1 parent 1ebc2aa commit 6899346

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ For this walkthrough I've generated a new Rails application, and run
7272
Let's run a test:
7373

7474
```
75-
$ time bin/rake test test/functional/posts_controller_test.rb
75+
$ time bin/rake test test/controllers/posts_controller_test.rb
7676
Run options:
7777
7878
# Running tests:
@@ -102,7 +102,7 @@ Spring is running:
102102
The next run is faster:
103103

104104
```
105-
$ time bin/rake test test/functional/posts_controller_test.rb
105+
$ time bin/rake test test/controllers/posts_controller_test.rb
106106
Run options:
107107
108108
# Running tests:

0 commit comments

Comments
 (0)