In addition to getting rspec installed correctly, webrat is required to test the page content with response.should have_selector("title"....
Here are the instructions. I had to include the proper version (0.7.0) in the Gemfile, then do a bundle install.
Friday, July 8, 2011
getting rspec installed
The tutorial I'm using calls for using rspec for testinhttp://www.blogger.com/img/blank.gifg. In order to get it so I could install it and add it I had to follow these instructions.
Thursday, July 7, 2011
Finally really working on Rails
After several false starts we have a project at work where we are looking at using Rails. So far so good. I'm using http://ruby.railstutorial.org/ruby-on-railshttp://www.blogger.com/img/blank.gif-tutorial-book as my tutorial and so far it is my kind of book. I'm using the bitnami rubystack virtual machine using Rails 3 in ubuntu. There have been a couple of hiccups along the way. 1) is remembering to use sudo on the VM for most installs and updates and even running the server to test the appliction. Not a HUGE deal, but a minor annoyance. Also, when doing the push the first time to deploy to heroku, I got an error saying that heroku does not appear to be a git repository. The fix for that is here.
Subscribe to:
Posts (Atom)