steak icon indicating copy to clipboard operation
steak copied to clipboard

Couldn't run rake spec:acceptance

Open williamn opened this issue 12 years ago • 4 comments

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)

williamn avatar May 02 '12 09:05 williamn

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

cavalle avatar May 07 '12 19:05 cavalle

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

williamn avatar May 08 '12 02:05 williamn

Same problem here with rails 3.0.9 and steak 2.0.0.

rilla avatar May 09 '12 20:05 rilla

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

require 'capybara/rspec'

dcvezzani avatar Dec 30 '15 19:12 dcvezzani