<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Chad Humphries wrote:
<blockquote
cite="mid:348F34C7-D00C-4500-98BA-E3F7D0486748@spicycode.com"
type="cite">
<pre wrap="">Also, could you post the spec if possible?
- Chad
On Dec 19, 2007, at 10:11 AM, David Chelimsky wrote:
</pre>
<blockquote type="cite">
<pre wrap="">And you've got the following near the top of spec/spec_helper.rb?
require 'spec'
require 'spec/rails'
_______________________________________________
rspec-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a>
<a class="moz-txt-link-freetext" href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users</a>
</pre>
</blockquote>
<pre wrap=""><!----></pre>
</blockquote>
<br>
My spec/spec_helper.rb does contain those lines. I did not modify it
after it was generated.<br>
<br>
The one spec I have is spec/models/image_spec.rb. The contents are:<br>
<br>
require File.dirname(__FILE__) + '/../spec_helper.rb'<br>
<br>
describe Image, "brand new" do<br>
before(:each) do<br>
@image = Image.new<br>
end<br>
<br>
it "should be in the review bucket" do<br>
@image.bucket.should equal(Bucket.review)<br>
end<br>
<br>
end<br>
<br>
<br>
<br>
Thanks,<br>
Ben<br>
</body>
</html>