Re: [rspec-users] Adding a folder to my rspec execution path

2011-07-25 Thread Pablo L. de Miranda
OMG, I don't believe that I forget that. Thank you so much Justin. Att, Pablo ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Adding a folder to my rspec execution path

2011-07-25 Thread Pablo L. de Miranda
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 | |

Re: [rspec-users] Adding a folder to my rspec execution path

2011-07-25 Thread Pablo L. de Miranda
Hi Justin, I'm using RSpec 2.6.0, RSpec-Rails 2.6.1, Capybara 1.0.0 and Rails 3.0.7. Att, Pablo ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Adding a folder to my rspec execution path

2011-07-25 Thread Pablo L. de Miranda
Hi guys, I'm using RSpec with Capybara, and for that I created the spec/integration folder. But when I execute the command "bundle exec rspec spec" RSpec don't execute my files on integration folder. I need to pass each file to solve this problem. Do you known how I can put the integration folder

Re: [rspec-users] Problems with integration test

2011-05-02 Thread Pablo L. de Miranda
Chris, Thank you man, I replaced all my symbol for field name references, and worked fine. Pablo ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Problems with integration test

2011-05-02 Thread Pablo L. de Miranda
Hi Chris, Thank your for your explanation, but I have a doubt about this. I'm printing the method test bellow: it "should create a new account" do lambda do visit new_subdomain_path response.should render_template('subdomains/new') fill_in :nome, :with =

[rspec-users] Problems with integration test

2011-05-02 Thread Pablo L. de Miranda
Hi guys, I'm writing a integration test and i'm still have problems with a form field. The RSpec continues to show me a message bellow: Failure/Error: fill_in :password_confirmation, :with => @attr[:password_confirmation] Webrat::NotFoundError: Could not find field: :password_confirma

Re: [rspec-users] Rails helper problem

2011-05-01 Thread Pablo L. de Miranda
+55 11 8701-1086 On Sun, May 1, 2011 at 3:40 PM, Chris Mear wrote: > On 1 May 2011, at 18:29, Pablo L. de Miranda wrote: > >> I'm building a application using subdomains feature like basecamp. To >> create the correct link reference I use a with_subdomain function whch &g

[rspec-users] Rails helper problem

2011-05-01 Thread Pablo L. de Miranda
Hi guys, I'm building a application using subdomains feature like basecamp. To create the correct link reference I use a with_subdomain function whch take the subdmain name and create a subdomain name like subdomain.mydomain.com. So to teste that a account information view have the link to right d

Re: [rspec-users] Subdomain test

2011-04-11 Thread Pablo L. de Miranda
Chris, Thanks man, it's great your code. I did a fork and started study it. Thank you again, Pablo pablolmira...@gmail.com ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Subdomain test

2011-04-11 Thread Pablo L. de Miranda
Hi guys, I'm developing a app where each subdomain has a independent data set. I did a few tries to rewrite a test for this, but all were unsuccessful. Do someone has a example how I can do that? any reference will help. Thanks, Pablo pablolmira...@gmail.com __

Re: [rspec-users] Good introduction to rspec

2009-04-01 Thread Pablo L. de Miranda
@Fernando - So what material you recommend to start a study in rSpec? Att, Pablo Lacerda de Miranda pablolmira...@gmail.com ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Good introduction to rspec

2009-03-31 Thread Pablo L. de Miranda
Hi Sarah, I will take a look in the peepcode videos. Thank you, Pablo Lacerda de Miranda pablolmira...@gmail.com ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Good introduction to rspec

2009-03-31 Thread Pablo L. de Miranda
Hi Fernando, Are know, or have, some material ( tutorial, article, etc.. ) to recommend me? Att, Pablo Lacerda de Miranda Graduando Sistemas de Informação Universidade Estadual de Montes Claros pablolmira...@gmail.com ___ rspec-users mailing list rspec-

[rspec-users] Good introduction to rspec

2009-03-31 Thread Pablo L. de Miranda
Hi guys, Someone know some good introduction to rspec, I`m wanting to use Rspec with my Rails projects, but I don't found a good introduction. Att, Pablo Lacerda de Miranda pablolmira...@gmail.com ___ rspec-users mailing list rspec-users@rubyforge.org h