Test-driven development and rspec.
测试驱动的开发和rspec。
This will run the current spec file under rspec.
这样可以使用rspec来运行当前的规格文件。
Once you install the "rspec" Ruby Gem (use Tools | Ruby Gems), your Rails projects will contain a spec directory which can contain specification files.
一旦你通过Ruby Gem(使用Tools | Ruby Gems)安装了“rspec”,你的Rails项目中将会包含一个用来包括规格文件的spec目录。
应用推荐