Getting uninitialized constant error when trying to run tests

后端 未结 12 2235
礼貌的吻别
礼貌的吻别 2020-12-10 13:29

I just updated all my gems and I\'m finding that I\'m getting errors when trying to run Test::Unit tests. I\'m getting the error copied below. That comes from creating new,

12条回答
  •  星月不相逢
    2020-12-10 13:35

    I ran into this today on Mac OS X 10.6. My solution is as follows:

    config.gem 'test-unit', :lib => 'test/unit', :version => '1.2.3'
    config.gem 'autotest'
    config.gem 'cucumber'
    config.gem 'cucumber-rails', :lib => false
    config.gem 'ffaker', :lib => 'faker'
    config.gem 'rspec', :lib => false, :version => '>= 1.2.0'
    config.gem 'rspec-rails', :lib => false, :version => '>= 1.2.0'
    config.gem 'selenium-client', :lib => 'selenium'
    config.gem "thoughtbot-factory_girl", :lib => 'factory_girl', :source => "http://gems.github.com"
    config.gem 'thoughtbot-shoulda', :lib => 'shoulda'
    config.gem 'webrat'
    config.gem 'ZenTest', :lib => 'zentest'
    

提交回复
热议问题