Re: [rspec-users] Problems with expect_render

2007-09-25 Thread David Chelimsky
On 9/25/07, Matt Patterson <[EMAIL PROTECTED]> wrote: > On 25 Sep 2007, at 19:09, David Chelimsky wrote: > > >> I can send you the rcov HTML products if you want... > > > > Zip it up! > > I finally looked at the Rakefile to see where the rcov output was, > had a look and... found the problem: > > N

Re: [rspec-users] Problems with expect_render

2007-09-25 Thread Matt Patterson
On 25 Sep 2007, at 19:09, David Chelimsky wrote: >> I can send you the rcov HTML products if you want... > > Zip it up! I finally looked at the Rakefile to see where the rcov output was, had a look and... found the problem: Name | Total lines | Lines of code | Total coverage

Re: [rspec-users] Problems with expect_render

2007-09-25 Thread David Chelimsky
On 9/25/07, Matt Patterson <[EMAIL PROTECTED]> wrote: > On 25 Sep 2007, at 17:35, David Chelimsky wrote: > > > On 9/25/07, Matt Patterson <[EMAIL PROTECTED]> wrote: > >> > > Two things: > > > > 1. If you're patching you should be working w/ trunk, not the release. > > Yeah, I got the same problem w

Re: [rspec-users] Problems with expect_render

2007-09-25 Thread Matt Patterson
On 25 Sep 2007, at 17:35, David Chelimsky wrote: > On 9/25/07, Matt Patterson <[EMAIL PROTECTED]> wrote: >> > Two things: > > 1. If you're patching you should be working w/ trunk, not the release. Yeah, I got the same problem with trunk so I thought I'd see if I could figure out what was going

Re: [rspec-users] Problems with expect_render

2007-09-25 Thread David Chelimsky
On 9/25/07, Matt Patterson <[EMAIL PROTECTED]> wrote: > > On 25 Sep 2007, at 17:12, David Chelimsky wrote: > > >> OS X, with Ruby 1.8.6 > > > > Me too and I get 100% coverage. > > I'm running the mysql.com MySQL 5.0.45 mac intel build, and the > native mysql gem (2.7), if that helps > > > Are you j

Re: [rspec-users] Problems with expect_render

2007-09-25 Thread Matt Patterson
On 25 Sep 2007, at 17:12, David Chelimsky wrote: >> OS X, with Ruby 1.8.6 > > Me too and I get 100% coverage. I'm running the mysql.com MySQL 5.0.45 mac intel build, and the native mysql gem (2.7), if that helps > Are you just getting a coverage problem, or is it something else? Can > you pos

Re: [rspec-users] Problems with expect_render

2007-09-25 Thread David Chelimsky
On 9/25/07, Matt Patterson <[EMAIL PROTECTED]> wrote: > On 25 Sep 2007, at 17:00, David Chelimsky wrote: > > > Oh - I forgot about that - it actually should work :) > > Heh. > > >> Can you give me some pointers on getting the tests to run cleanly? > > > > What platform are you on? > > OS X, with Ru

Re: [rspec-users] Problems with expect_render

2007-09-25 Thread Matt Patterson
On 25 Sep 2007, at 17:00, David Chelimsky wrote: > Oh - I forgot about that - it actually should work :) Heh. >> Can you give me some pointers on getting the tests to run cleanly? > > What platform are you on? OS X, with Ruby 1.8.6 Matt -- Matt Patterson | Design & Code | http://www.r

Re: [rspec-users] Problems with expect_render

2007-09-25 Thread Matt Patterson
On 25 Sep 2007, at 16:57, Matt Patterson wrote: > On 25 Sep 2007, at 16:06, David Chelimsky wrote: >> >> It is not documented as such, but expect_render does not work with >> mocha. It uses rspec's underlying mock framework. > > Yes, I knew about that, but the rdoc in lib/spec/rails/dsl/behaviour/

Re: [rspec-users] Problems with expect_render

2007-09-25 Thread David Chelimsky
On 9/25/07, Matt Patterson <[EMAIL PROTECTED]> wrote: > On 25 Sep 2007, at 16:06, David Chelimsky wrote: > > > On 9/25/07, Matt Patterson <[EMAIL PROTECTED]> wrote: > >> Hi there, > >> > >> I've been working with RSpec for about a week now, and the process of > >> moving from a Test::Unit + Mocha s

Re: [rspec-users] Problems with expect_render

2007-09-25 Thread Matt Patterson
On 25 Sep 2007, at 16:06, David Chelimsky wrote: > On 9/25/07, Matt Patterson <[EMAIL PROTECTED]> wrote: >> Hi there, >> >> I've been working with RSpec for about a week now, and the process of >> moving from a Test::Unit + Mocha setup to an RSpec + Mocha >> environment has been pretty straightfor

Re: [rspec-users] Problems with expect_render

2007-09-25 Thread David Chelimsky
On 9/25/07, Matt Patterson <[EMAIL PROTECTED]> wrote: > Hi there, > > I've been working with RSpec for about a week now, and the process of > moving from a Test::Unit + Mocha setup to an RSpec + Mocha > environment has been pretty straightforward. > > Except, I'm having problems with using template

[rspec-users] Problems with expect_render

2007-09-25 Thread Matt Patterson
Hi there, I've been working with RSpec for about a week now, and the process of moving from a Test::Unit + Mocha setup to an RSpec + Mocha environment has been pretty straightforward. Except, I'm having problems with using template.expect_render. I have Mocha enabled with: > config.mock_wit