On 9/25/07, Brandon Keepers [EMAIL PROTECTED] wrote:
When I run spec:rcov on my continuous integration server, the rcov
report is including many other libraries in the report, including
some from standard lib and gems. Has anyone else had this problem or
have any ideas for how to limit it
Sorry to bump myself here: But this behavior is really messing my
tests up. If anyone has any insight I'd really appreciate it.
Even in a debugger, the value of response.body is the name of the
template rather than the content, but only in the test and only in a
few cases. Works fine in
On 9/25/07, Luke Galea [EMAIL PROTECTED] wrote:
Sorry to bump myself here: But this behavior is really messing my
tests up. If anyone has any insight I'd really appreciate it.
Even in a debugger, the value of response.body is the name of the
template rather than the content, but only in the
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
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 straightforward.
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 setup to an RSpec +
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/
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 Ruby 1.8.6
Me too
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 just getting a
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 on with
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 with trunk so I
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:
Name
On Fri, 2007-09-14 at 17:51 -0400, sinclair bain wrote:
def update
...
if @config.update_attributes ( params[:new_config] )
redirect_to :action = :index
else
render :action = :edit, :id = params[:id] # this line
here
end
...
end
it 'should render
hi,
I just started fooling around with story runner, thought I'd start
with a dead simple scenario:
The first thing I do when describing a site to someone is go to the
home page, and begin exploring public pages from there.
So, that seems like a good first story to spec out.
And I'd really
On 9/25/07, Jonathan Linowes [EMAIL PROTECTED] wrote:
hi,
I just started fooling around with story runner, thought I'd start
with a dead simple scenario:
The first thing I do when describing a site to someone is go to the
home page, and begin exploring public pages from there.
So, that
Hi Jon,
I've been having alot of fun with Story Runner this week.
I'm trying to find the time this week to do a screencast on story runner.
Here's an example of how I might write your story.
http://pastie.caboo.se/100835
I didn't use in my example how you'd like to check for the url.
I'm
yep, in my case I'm imagining a next scenario may go something like
this:
- from home page, click on Contact Us,
see contact form, fill out fields,
submit form, see thank you page,
email sent to admin
On Sep 25, 2007, at 6:48 PM, Pat Maddox wrote:
On 9/25/07, David Chelimsky [EMAIL
Oh that was my post a few days ago.
I was trying to emulate the following:
Jon is logging onto the forum so he can create a new topic.
When Jon logs on he is redirected the home page by default.
Jon then clicks on the general forum
so he go create a topic.
This following seemed out of place.
I
Hi guys,
I just had a question on testing a method whose behaviour includes
creating a record in the database. How would one go about doing this?
At first, it seems okay to cheat and just make sure that create() or
new() is called with the correct parameters. So,
19 matches
Mail list logo