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.
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
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
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
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
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
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