search for: champsoftwar

Displaying 4 results from an estimated 4 matches for "champsoftwar".

Did you mean: champsoftware
2008 Jan 21
6
Rspec 1.1.2 on Windows
I am using Rspec 1.1.2 on Windows XP SP2 I am receiving the following error when I run ''rake spec'' from a brand new project: C:/SVN_Projects/rspec/vendor/plugins/rspec/lib/spec/runner/options.rb:107:in `colour='': You must gem install win32console to use colour on Windows (RuntimeError) I have the win32console gem installed and the error still occurs. It seems that the
2008 Aug 12
2
return code question
We are trying to automate the running of our rspec tests for our Rails app on a build server using Capistrano. The problem is that Capistrano seems to think that the command called to run the model tests failed when in fact I believe it succeeded. I believe the problem has to do with the return code from the command I am running.. The command I am running is: ruby script/spec spec/models -f
2010 Mar 24
1
How to stub a has_many relationship in Rails 2.3.5
We have a test that has been working find until we upgraded to rails 2.3.5. I''m not too familiar with mocks/stubs so maybe there is an easy solution. Here is a simple example of our scenario. Class Person < ActiveRecord::Base has_many :aliases, :dependent => :nullify before_destroy :mark_aliases_as_deleted def mark_aliases_as_deleted self.aliases.each do
2006 Jun 27
0
newbie question: one to one relationships in ROR
A newbie to ROR, I have come to my first problem. We have two tables lets call them toys and trucks that have a one to one relationship. Now toys has_one truck and truck belongs_to toy. I have created the basic scaffold for both tables. But in order to create a new truck the user must first create a toy. What I am trying to do is create on page where the user can enter the information that a