undefined method `get' for #

前端 未结 12 884
野性不改
野性不改 2020-11-30 00:57

Anyone know how to get around this? On OSX, trying to get RSpec running with Rails 3.0.7. Full details at: https://gist.github.com/1017044

  it \"renders but         


        
12条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-30 01:24

    If at all you are using 'spec/features', you may need to add the following to your 'spec_helper.rb'

    config.include RSpec::Rails::RequestExampleGroup, type: :feature
    

提交回复
热议问题