[rspec-users] stack level too deep

David Chelimsky dchelimsky at gmail.com
Sat Aug 28 13:32:26 EDT 2010


On Aug 28, 2010, at 11:33 AM, Justin Ko wrote:

> 
> 
> On Aug 28, 6:59 am, Daniel Lidström <dlidst... at gmail.com> wrote:
>> On 28 Aug, 04:13, Justin Ko <jko... at gmail.com> wrote:
>> 
>> 
>> 
>>> I would suggest switching to capybara.
>> 
>> Hi Justin,
>> 
>> I tried changing a part of my Gemfile to this:
>> 
>> group :development, :test do
>>   gem 'rspec-rails', '>= 2.0.0.beta.19'
>>   gem 'capybara'
>> end
>> 
>> I am not sure if this is correct or what to do next. I tried "bundle
>> install" and then "rspec spec/requests". Capybara was installed but I
>> still got the stack level too deep error. Could you tell me what to do
>> or point me to an online resource where this is documented?
>> 
>> Thanks in advance!
>> 
>> Regards,
>> 
>> Daniel Lidström
>> Stockholm, Sweden
>> _______________________________________________
>> rspec-users mailing list
>> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
> 
> Did you remove webrat from the Gemfile?

That won't help with beta.19, which has a hard dependency on webrat. beta.20 does not, so you can choose between webrat and capybara.


More information about the rspec-users mailing list