16
如何运行单个RSpec测试?
我有以下文件: /spec/controllers/groups_controller_spec.rb 我要在终端中使用哪个命令来仅运行该规范,并在哪个目录中运行该命令? 我的宝石文件: # Test ENVIRONMENT GEMS group :development, :test do gem "autotest" gem "rspec-rails", "~> 2.4" gem "cucumber-rails", ">=0.3.2" gem "webrat", ">=0.7.2" gem 'factory_girl_rails' gem 'email_spec' end 规格文件: require 'spec_helper' describe GroupsController do include Devise::TestHelpers describe "GET yourgroups" do it "should be successful and return 3 items" do …