[rspec-users] response.should have_content("1 movie") does not seem to work for me

2012-06-14 Thread Joshua Muheim
Hey everybody I have worked quite to near the end of The RSpec Book, but now I'm having some troubles. I'm trying to get the last few Cucumber steps to work, which are: Then /^Caddyshack should be in the Comedy genre$/ do visit genres_path click_link "Comedy" save_and_open_page response.

[rspec-users] Selenium+Autotest: how to run browser in background?

2012-06-14 Thread Joshua Muheim
Hey guys After hours of hard work I finally managed to set up my development environment to run cucumber scenarios using autotest and selenium. What's a bit bugging is the fact that Firefox always jumps to the foreground when Autotest does its job. How can I keep Firefox in the background so that

Re: [rspec-users] response.should have_content("1 movie") does not seem to work for me

2012-06-22 Thread Joshua Muheim
It seems I have to use page.should have_content("...") instead of response.should have_content("...") Maybe that's because Capybara is the default engine now and not Webrat? -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspe

[rspec-users] An open source project with very good use of Cucumber?

2012-06-22 Thread Joshua Muheim
Hey everybody I came here through the RSpec Book, so I grant myself to ask something about Cucumber here. ;) I'm still very new to the topic and read a lot of different opinions about how to do great Cucumber scenarios. Still, I'm a bit unsure as I don't have any experience in using it. So I hope

Re: [rspec-users] Selenium+Autotest: how to run browser in background?

2012-06-22 Thread Joshua Muheim
Well, didn't find a solution, but using the :chrome driver lets Chrome be activated in the background... See http://collectiveidea.com/blog/archives/2011/09/27/use-chrome-with-cucumber-capybara/ -- Posted via http://www.ruby-forum.com/. ___ rspec-use

Re: [rspec-users] An open source project with very good use of Cucumber?

2012-06-22 Thread Joshua Muheim
You mean this? https://github.com/danlucraft/redcar Having troubles to find the .feature files, though. By the way, a Rails project would be best... :) -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org h

Re: [rspec-users] Controller specs and default_url_options

2012-11-12 Thread Joshua Muheim
Thanks for these very useful informations. I found the titinux' first post to solve my problems with request specs, and martin_c94's post to solve my controller specs problems. Still, in the console, the url helpers need the locale explicitly set, it seems: [1] pry(main)> app.user_path User.fi