Skip to content
Browse files

Corrected gotcha clarification.

  • Loading branch information...
1 parent 8d55a46 commit fe03b27ffe1d7af43e79320b989722eb83cbce48 @sah sah committed Jul 5, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
View
4 README.markdown
@@ -25,7 +25,7 @@ configuration, which you can tweak inside the `Sauce.config` block if necessary.
### Example RSpec test for Rails
-Here's an example test for RSpec. Drop something like this in spec/selenium/example.rb (it's important to the RSpec integration that test scripts be located in a directory called "selenium"):
+Here's an example test for RSpec. Drop something like this in spec/selenium/example.rb. (Because of the way RSpec categorizes tests, the "spec/selenium" directory tree is required for the integration to work properly):
require "spec_helper"
@@ -64,7 +64,7 @@ First, configure with your account info:
`sauce config USERNAME ACCESS_KEY`
-And here's an example test. Drop something like this in spec/selenium/example.rb (it's important to the RSpec integration that test scripts be located in a directory called "selenium"):
+And here's an example test. Drop something like this in spec/selenium/example.rb. (Because of the way RSpec categorizes tests, the "spec/selenium" directory tree is required for the integration to work properly):
#!/usr/bin/env ruby
#

0 comments on commit fe03b27

Please sign in to comment.
Something went wrong with that request. Please try again.