Why is Rspec saying “Failure/Error: Unable to find matching line from backtrace”?

后端 未结 11 1068
春和景丽
春和景丽 2020-12-03 02:35

I\'m following the rails tutorial here: http://railstutorial.org/chapters/filling-in-the-layout#top

When I run \"rspec spec/\", I get a bunch of errors that look lik

11条回答
  •  情话喂你
    2020-12-03 03:30

    my gemfile looked like this and it works

    group :test do 
        gem 'rspec-rails'
        gem 'webrat', '0.7.1'
    end
    

    where rspec-rails (2.1.0)

    however following doesn't:

    group :test do 
        gem 'rspec-rails'
        gem 'webrat', '0.7.2'
    end
    

    So I think it is webrat plays up.

提交回复
热议问题