I have found all kinds of links online but none that are current and show how to run a single test.
I have the following file:
What command in terminal do I use to run just that spec and in what dir do I run the command?
My gem file:
# Test ENVIRONMENT GEMS
group :development, :test do
gem "rspec-rails", "~> 2.4"
gem "cucumber-rails", ">=0.3.2"
gem "webrat", ">=0.7.2"
describe GroupsController do
describe "GET yourgroups" do
it "should be successful and return 3 items" do
Rails.logger.info 'HAIL MARRY'
get :yourgroups, :format => :json
body = JSON.parse(response.body)
body.should have(3).items # @user1 has 3 permissions to 3 groups