On Mon, Jul 25, 2011 at 9:59 AM, Pablo L. de Miranda <
pablolmira...@gmail.com> wrote:

> Justin,
>
> Bellow is my directory tree for spec:
>
> |-- spec
> |   |-- controllers
> |   |   `-- site_controller_spec.rb
> |   |-- factories.rb
> |   |-- fixtures
> |   |   `-- avatar.jpg
> |   |-- helpers
> |   |   |-- profile_helper_spec.rb
> |   |   |-- site_helper_spec.rb
> |   |   `-- task_list_helper_spec.rb
> |   |-- integration
> |   |   |-- todo_list.rb
> |   |   |-- user_login.rb
> |   |   `-- user_profile.rb
> |   |-- models
> |   |   |-- relationship_spec.rb
> |   |   |-- todo_list_item_spec.rb
> |   |   |-- todo_list_spec.rb
> |   |   `-- user_spec.rb
> |   |-- spec_helper.rb
> |   `-- support
> |       `-- integration_example_group.rb
>
> And yes, I'm executing the rspec inside my rails root dir.
> I'm believing that the rspec will execute my integration tests without
> any modification on path, how I could add a dir on path executing?
>
> Thanks,
>
> Pablo
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


Ah ha! Your integration specs need to have _spec.rb in the file names, just
like models, controllers, etc.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to