Chad Humphries wrote:
Also, could you post the spec if possible?

- Chad

On Dec 19, 2007, at 10:11 AM, David Chelimsky wrote:

And you've got the following near the top of spec/spec_helper.rb?

require 'spec'
require 'spec/rails'
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

My spec/spec_helper.rb does contain those lines. I did not modify it after it was generated.

The one spec I have is spec/models/image_spec.rb.  The contents are:

require File.dirname(__FILE__) + '/../spec_helper.rb'

describe Image, "brand new" do
 before(:each) do
   @image = Image.new
 end

 it "should be in the review bucket" do
   @image.bucket.should equal(Bucket.review)
 end

end



Thanks,
Ben
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to