Couldn't run rake spec:acceptance #51

Open
williamn opened this Issue May 2, 2012 · 4 comments

Projects

None yet

4 participants

@williamn
williamn commented May 2, 2012

On rails 3.2.3 and steak 2.0.0, I couldn't run

rake spec:acceptance

Here is the output

rake aborted!
Don't know how to build task 'spec:acceptance'

(See full trace by running task with --trace)
@cavalle
Owner
cavalle commented May 7, 2012

Is this specific of Rails 3.2.3? Have you try with other versions?

@williamn
williamn commented May 8, 2012

I just try with Rails 3.2.1 and this problem does not occur.

@rilla
rilla commented May 9, 2012

Same problem here with rails 3.0.9 and steak 2.0.0.

@dcvezzani

The issue seems to be resolved by requiring capybara/rspec in spec/rails_helper.rb.

require 'capybara/rspec'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment