I have installed growl + rspec + autotest on my windows 7 machine. From the command prompt, when I type \'rspec spec/\' it doesn\'t work. The tests will only run if I use \'rake spec/\' + \'autotest\'
About 6 months ago I switched from TextMate to MacVim for all of my development work, which primarily consists of coding in Ruby, Ruby on Rails and JavaScript.
I have an object class User < ActiveRecord::Base has_one :subscription end and I have this test: it \"should increment shipped count when item_shipped\" do
I\'ve been playing with SpecFlow for the last couple of days.During that time I realized I should brush up on writing quality specs for these systems.
How do I turn off transactional fixtures for only one spec (or Steak scenario) with RSpec 2? I tried some things found on the web without any success.
I\'m trying to teach myself rails by going through http://railstutorial.org/. I quit working on the tutorial app last night and then came back to it today. Now I\'m getting an error when I start up th
In my controller 开发者_如何转开发I have some methods which return json as well as xml data. I need to test those actions. For testing the json part I found this reference and it is working fine. Now
We all know that we have this code in our create action of any basic controller def create if @product.save
RSpec allows you to get the current running test method name in a before(:each) block, by doing the following:
I have a seemingly simple error but I can\'t seem to figure out what to do to resolve it. I have tried uninstalling and reinstalling but that hasn\'t helped me out. I am new to the terminal and to rub