`
golden05
  • 浏览: 1885 次
  • 性别: Icon_minigender_1
  • 来自: 上海
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

启动bali项目

阅读更多
1 Install ZenTest (version 3.6.1): gem install --include-dependencies ZenTest
2 Install diff-lcs (version 1.1.2): gem install diff-lcs
3 Install ruby-snarl (version 0.0.8): gem install ruby-snarl
4 Download the install the GNU DiffUtils package – I installed this into my   C:\Windows\System32 directory.
Download and unzip the famfamfam Silk icons and copy the following files into $RUBY_HOME\lib\ruby\gems\1.8\gems\ZenTest-3.6.1\lib\icons where $RUBY_HOME is the directory where Ruby is installed:
   * accept.png
    * exclamation.png
    * information.png

5 Create a file called .autotest in your Rails application root containing:
  require 'autotest/snarl'
6 Open the spec/spec.opts file in your Rails application and remove the --color option (if it is present). My file looks like this:

--format progress
--loadby mtime
--reverse

首先把rspec ,rspec_autotest 和 rspec rails 三个目录复制到 vendors\plugins目录下面,
然后在shell 下运行 script/generate rspec 即可把rspec 安装完毕

autotest
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics