[rspec-users] Rspec-rails 2.0.0.beta.22 + Rails 3 don't generate spec/controllers/

David Chelimsky dchelimsky at gmail.com
Fri Sep 17 09:01:42 EDT 2010


On Sep 17, 2010, at 7:16 AM, Aleksandar Simic wrote:

> Hello,
> 
> I've set up rails 3 with rspec-rails 2.0.0.beta.22.
> 
> When generating a controller, like so:
> 
>   rails generate controller Users new
> 
> no spec/controllers get generated.
> 
> However, when I do:
> 
>   rails generate scaffold Users name:string email:string
> 
> spec/controllers gets created.
> 
> These are my steps and my environment:
> 
> http://pastie.org/1163699
> 
> Am I doing something obviously wrong?

Nope. Bug. Fixed, but fix not yet released:

http://github.com/rspec/rspec-rails/issues/closed#issue/205


More information about the rspec-users mailing list