cavalle / steak

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

undefined method feature #31

Closed thibaudgg closed 12 years ago

thibaudgg commented 13 years ago

after version '1.0.0.rc.2', I got this error when I tried to update Steak:

Users/Thibaud/.../spec/acceptance/users_spec.rb:7:in `block in <top (required)>': undefined method `feature' for #<Class:0x00000102caeab0> (NoMethodError)
from /Users/Thibaud/.rvm/gems/ruby-1.9.2-p136/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:131:in `module_eval'
from /Users/Thibaud/.rvm/gems/ruby-1.9.2-p136/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:131:in `subclass'
from /Users/Thibaud/.rvm/gems/ruby-1.9.2-p136/gems/rspec-core-2.4.0/lib/rspec/core/example_group.rb:118:in `describe'
from /Users/Thibaud/.rvm/gems/ruby-1.9.2-p136/gems/rspec-core-2.4.0/lib/rspec/core/extensions/object.rb:6:in `describe'
from /Users/Thibaud/.rvm/gems/ruby-1.9.2-p136/gems/steak-1.1.0/lib/rspec-2/steak.rb:23:in `feature'

Any ideas? Thanks for your help!

cavalle commented 13 years ago

Please check if with steak 1.0.1 you got the error or not. Also paste here your acceptance_helper.rb.

thibaudgg commented 13 years ago

Same error with version 1.0.1. I don't use any acceptance_helper.rb file, just require 'spec_helper' in my acceptance specs. I have also tried with the default acceptance_helper.rb generated by Steak 1.1.0 and still have this error. :(