Skip to content
Browse files

clarified setup

  • Loading branch information...
1 parent db2d81d commit 3ac271a84707dbc3f6ff4e6b0a673319afb56736 Stephen Hardisty committed
Showing with 7 additions and 7 deletions.
  1. +7 −7 README.md
View
14 README.md
@@ -5,7 +5,7 @@ Welcome to Etsy's 2012 Selenium Conference workshop! This repository contains th
This repository can be reached by visiting **[etsy.me/selenium2012](http://etsy.me/selenium2012)**.
-## Dependencies
+## Dependencies (Ruby and Firefox)
You should make sure the following dependencies are installed before the session begins...
@@ -34,20 +34,20 @@ Click [here](http://rubyforge.org/frs/download.php/75851/rubyinstaller-1.8.7-p35
## Setup
-To setup this workshop...
+Once Ruby and Firefox are installed, perform the following steps to install the Ruby libraries...
* Either clone this repository with [Git](http://git-scm.com/download) (`git clone git@github.com:moowahaha/SeleniumConf2012.git`)
or download the latest zipped version from [here](https://github.com/moowahaha/SeleniumConf2012/zipball/master).
* Run `sh setup.sh` (Linux & OS X) or `setup.bat` (Windows) to install the required Ruby libraries (or run the commands listed in the respecitve file).
-* Try running the (currently failing) tests: `rspec`.
+* Try running the (currently failing) tests: `bundle e rspec`.
## How to run...
-On some systems, you will need to prefix all commands with `bundle exec`.
+Commands should be prefixed with `bundle e`. This ensures the libraries installed in the previous setup are used.
-* To run all tests: `rspec` (or `bundle exec rspec`).
-* To run all tests from a single file: `rspec spec/navigation_spec.rb`.
-* To run a single test, specify the file and line number: `rspec spec/navigation_spec.rb:7`.
+* To run all tests: `bundle e rspec`.
+* To run all tests from a single file: `bundle e rspec spec/navigation_spec.rb`.
+* To run a single test, specify the file and line number, add ':number' to the end of the filename: `bundle e rspec spec/navigation_spec.rb:7`.
## Some links!

0 comments on commit 3ac271a

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