我正在迈克尔哈特的Rails教程中工作,他在第5章中说应该配置Mac OS X以运行自动测试。他提供的OS X代码是: Autotest.add_hook :initialize do |autotest|
autotest.add_mapping(/^spec\/requests\/.*_spec\.rb$/) do
autotest.files_matching(/^spe
我在Michael Hartl的Rails教程中工作,现在在第5章中。但是,我无法获得我的Rspec,spark和auto测试运行。当我尝试让它们运行时,我收到一条错误消息: Paul-Denlingers-MacBook-Pro:sample_app_2 pdenlinger$ rspec spec/
No DRb server is running. Running in local pro
即时通讯使用自动测试通知v2.3.4和rspec v2.0.1在我的机器上运行Ubuntu 12.04的我的rails v3.2.3项目中编写测试。在我的pages_controller_spec.rb我有以下代码 require 'spec_helper'
describe PagesController do
describe "GET 'contact'" do
i
我在jruby-1.6.6上设置spec,autotest和spork,但是我收到以下异常。我并没有太大周围谷歌发现,需要帮助 $ jruby -S autotest
(Not running features. To run features in autotest, set AUTOFEATURE=true.)
loading autotest/rspec2
TypeError: can
Michael Hartl的精彩Rails Tutorial现在可用于Rails 3.2。他继续使用rspec和spork概述TDD和BDD,就像他在3.0版中所做的那样,并且在3.2中增加了后卫。在3.0版中,Hartl包含有关自动测试的信息,并且我能够获得精彩的咆哮声通知。然而,在3.2中,他不再包含自动测试或很多咆哮信息。守卫与spork很好地工作,但没有通知。我使用Hartl的3.0和一些