[rspec-users] "it" blocks not executing

David Chelimsky dchelimsky at gmail.com
Wed Jun 6 11:25:51 UTC 2012


On Tue, Jun 5, 2012 at 3:47 PM, Robbie Leib <robbie at onthecity.org> wrote:
> 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

This is not rspec's output, so something else is not configured
correctly. Would you mind posting the Rakefile and
spec/spec_helper.rb?

> 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
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list