See: https://github.com/timcharper/spork/issues/122 I did not commit the Gemfile.lock file used for generated rails3 application used for the cucumber-rails integration feature test. This file does not affect the operation of spork and will be re-generated whenever the Gemfile is updated and the feature is run. FYI: the following feature/scenarios fail on the master branch both before and after this commit: features/diagnostic_mode.feature:6 # Scenario: Running spork --diagnose features/rails_delayed_loading_workarounds.feature:70 # Scenario: respecting custom autoload paths
SPORK_ROOT is a pathname object and the result of adding a string to it is a Pathname object. RubyGems 1.6.0 through 1.8.5 pass the require path to Regexp.escape(). In Ruby 1.9.2 passing a Pathname to Regex.escape() throws this error: "can't convert Pathname to String (TypeError)" This RubyGems bug is fixed but not yet in a release. This bug does not show up when using bundler exec to run cucumber feature tests -- only when using cucumber directly.
- RSpec adds lib and spec to load path, so require 'spec_helper' works and you don't need to add lib yourself - this also means spec_helper need not be wrapped in a condittional - it won't be loaded more than once - take advantage of the described class in the shared groups - use new be_within matcher instead of deprecated be_close matcher
…e rake dependency
It seems like it was broken before... too... was positive that I tested it. Hmm