[rspec-users] "it" blocks not executing

Robbie Leib robbie at onthecity.org
Tue Jun 5 20:47:29 UTC 2012


Rails 2.3.14 app

rspec (1.3.2)
rspec-rails (1.3.4)

When I run bundle exec rake spec, not matter what, I get:

0 tests, 0 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
0% passed

I have one spec file, and I hit the first debug statement, and not the 2nd:

require 'spec_helper'

describe Api::Admin::V1::UsersController do
	describe "/api/admin/v1/users" do
		describe "GET index" do
			debugger
			it "should return first 20 users" do
				debugger
				assert_equal false, true
			end
			it "should return page 2" do
			end
			it "should filter on last name" do
			end
		end
	end
end

What could be causing this?

Thanks,



-- 

Robbie


More information about the rspec-users mailing list