[rspec-users] Shoulda and explicit subject

2010-07-01 Thread ericindc
I am trying to use Shoulda matchers with the latest beta version of RSpec for Rails 3. I've managed to track down the cause of my errors to needing to explicitly set the subject, but the Shoulda examples make no mention of requiring this step. I've pastied the errors I'm receiving and adding subj

Re: [rspec-users] Shoulda and explicit subject

2010-07-01 Thread ericindc
I have a thread open on their group page as well, but the only response received thus far seems to think it's an RSpec issue. I am having the same issue in my model tests as well. On Jul 1, 3:23 pm, David Chelimsky wrote: > On Jun 30, 2010, at 12:00 PM, ericindc wrote: > > > I

Re: [rspec-users] Shoulda and explicit subject

2010-07-01 Thread ericindc
http://groups.google.com/group/shoulda/browse_thread/thread/9a19ca5f60285e2d On Jul 1, 9:47 pm, David Chelimsky wrote: > On Jul 1, 2010, at 8:40 PM, ericindc wrote: > > > > > > > On Jul 1, 3:23 pm, David Chelimsky wrote: > >> On Jun 30, 2010, at 12:00 PM, erici

Re: [rspec-users] Shoulda and explicit subject

2010-07-01 Thread ericindc
"on GET to :index" do before(:each) do get :index end subject { controller } it { should respond_with(:success) } it { should render_template(:index) } it { should_not set_the_flash } end end On Jul 1, 10:32 pm, David Chelimsky wrote: &

Re: [rspec-users] Shoulda and explicit subject

2010-07-01 Thread ericindc
Will do, thanks! On Jul 1, 11:10 pm, David Chelimsky wrote: > On Jul 1, 2010, at 9:35 PM, ericindc wrote: > > > > > > > > > On Jul 1, 10:32 pm, David Chelimsky wrote: > >> On Jul 1, 2010, at 9:01 PM, ericindc wrote: > > >>> On Jul 1, 9:47 p

[rspec-users] Heckle & RSpec 2

2010-07-15 Thread ericindc
How do I run Heckle with RSpec? I've tried rake spec --heckle but get no output. I've tried just -heckle too, as mentioned in the docs, but that isn't accepted as a valid option and the help out is displayed. I have both the heckle and rspec-rails gems in my Gemfile, and running Rails 3, and have

[rspec-users] should_receive test unexpectedly failing

2010-07-22 Thread ericindc
I'm unsure why this test is still failing. I've tested it in console and the code works as expected. Is there something wrong with how I have my test written? ** error 1) Job selecting the next job to be processed should lock the next job Failure/Error: job.should_receive(:u

[rspec-users] [rspec-autotest] Autotest is missing some of my specs

2010-09-03 Thread ericindc
Any idea why autotest would miss some of my tests? I run autotest and everything passes, but rake spec results in 2 failures. The 2 failures are from the model spec that is not being included when run in autotest. ___ rspec-users mailing list rspec-user

Re: [rspec-users] [rspec-autotest] Autotest is missing some of my specs

2010-09-03 Thread ericindc
On Sep 3, 7:04 pm, David Chelimsky wrote: > On Sep 3, 2010, at 6:02 PM, ericindc wrote: > > > Any idea why autotest would miss some of my tests?  I run autotest and > > everything passes, but rake spec results in 2 failures.  The 2 > > failures are from the model spec th

Re: [rspec-users] [rspec-autotest] Autotest is missing some of my specs

2010-09-03 Thread ericindc
-rails (2.0.0.beta.20) autotest (4.3.2) autotest-fsevent (0.2.3) autotest-growl (0.2.5) autotest-rails (4.1.0) On Sep 3, 7:04 pm, David Chelimsky wrote: > On Sep 3, 2010, at 6:02 PM, ericindc wrote: > > > Any idea why autotest would miss some of my tests?  I run autotest and > >

Re: [rspec-users] [rspec-autotest] Autotest is missing some of my specs

2010-09-03 Thread ericindc
On Sep 3, 7:09 pm, David Chelimsky wrote: > On Sep 3, 2010, at 6:07 PM, ericindc wrote: > > > On Sep 3, 7:04 pm, David Chelimsky wrote: > >> On Sep 3, 2010, at 6:02 PM, ericindc wrote: > > >>> Any idea why autotest would miss some of my tests?  I run autot

Re: [rspec-users] [rspec-autotest] Autotest is missing some of my specs

2010-09-03 Thread ericindc
On Sep 3, 7:33 pm, ericindc wrote: > On Sep 3, 7:09 pm, David Chelimsky wrote: > > > > > > > On Sep 3, 2010, at 6:07 PM, ericindc wrote: > > > > On Sep 3, 7:04 pm, David Chelimsky wrote: > > >> On Sep 3, 2010, at 6:02 PM, ericindc wrote: >

Re: [rspec-users] [rspec-autotest] Autotest is missing some of my specs

2010-09-03 Thread ericindc
On Sep 3, 8:34 pm, David Chelimsky wrote: > On Sep 3, 2010, at 6:42 PM, ericindc wrote: > > > > > > > > > On Sep 3, 7:33 pm, ericindc wrote: > >> On Sep 3, 7:09 pm, David Chelimsky wrote: > > >>> On Sep 3, 2010, at 6:07 PM, ericindc wro

Re: [rspec-users] [rspec-autotest] Autotest is missing some of my specs

2010-09-03 Thread ericindc
On Sep 3, 9:37 pm, David Chelimsky wrote: > On Sep 3, 2010, at 8:12 PM, ericindc wrote: > > > > > > > > > On Sep 3, 8:34 pm, David Chelimsky wrote: > >> On Sep 3, 2010, at 6:42 PM, ericindc wrote: > > >>> On Sep 3, 7:33 pm, ericindc w

Re: [rspec-users] [rspec-autotest] Autotest is missing some of my specs

2010-09-04 Thread ericindc
On Sep 4, 10:42 am, David Chelimsky wrote: > On Sep 3, 2010, at 10:56 PM, ericindc wrote: > > > > > > > > > On Sep 3, 9:37 pm, David Chelimsky wrote: > >> On Sep 3, 2010, at 8:12 PM, ericindc wrote: > > >>> On Sep 3, 8:34 pm, David Chelims

[rspec-users] Autotest missing specs, not missed in rake spec

2011-03-17 Thread ericindc
I've included the output from running my specs with rake spec and autotest. I've restarted autotest several times to no avail. For some reason, autotest is missing the newsroom_blog_post specs. Any idea how to resolve this? I'd like to continue using autotest, but not if specs are going to be m

Re: [rspec-users] Autotest missing specs, not missed in rake spec

2011-03-17 Thread ericindc
On Mar 17, 12:58 pm, ericindc wrote: > I've included the output from running my specs with rake spec and > autotest.  I've restarted autotest several times to no avail.  For > some reason, autotest is missing the newsroom_blog_post specs.  Any > idea how to resolve this?