cavalle / steak

DISCONTINUED - The delicious combination of RSpec and Capybara for Acceptance BDD
MIT License
762 stars 30 forks source link

Couldn't run rake spec:acceptance #51

Open williamn opened 12 years ago

williamn commented 12 years ago

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 commented 12 years ago

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

williamn commented 12 years ago

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

rilla commented 12 years ago

Same problem here with rails 3.0.9 and steak 2.0.0.

dcvezzani commented 8 years ago

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

require 'capybara/rspec'