. Is there a less-documented feature
I'm missing?
Thanks,
Francis Hwang
http://fhwang.net/
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
'
Is there a way to have a controller spec test site-wide routing? It
seems to me that the get and post methods are just controller-
specific routing. If I can't do it in a controller spec, where else
should I do it?
Thanks,
Francis Hwang
http://fhwang.net
kind.
Is it possible the RSpec request isn't handling route generation
correctly? Or should I be writing my spec differently?
Thanks,
Francis Hwang
http://fhwang.net/
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org
while and look for it. It's got to be somewhere in my apartment, and
the whole thing's not even that big.
Francis Hwang
http://fhwang.net/
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Dec 30, 2007, at 1:52 PM, Jay Levitt wrote:
On 12/29/2007 5:46 PM, Francis Hwang wrote:
- How quickly the business needs change. Designs for medical imaging
software are likely to change less quickly than those of a consumer-
facing website, which means you might have more or less time
or more years ago ... I suspect part of that luxury
translates in being able to actually design _less_, since the cost of
fixing our design mistakes in the future goes down significantly.
Francis Hwang
http://fhwang.net/
___
rspec-users mailing list
that amorphously hints at a future design --
and in those cases, a strong test suite is what prevents you from
shooting yourself in the foot.
Francis Hwang
http://fhwang.net/
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman
... is there a way to do this? We have some REST-ish POSTs we'd like
to spec out. In the controller this gets accessed with
request.raw_post.to_s, is there a way to set this with rspec?
Thanks as always,
Francis
___
rspec-users mailing list
Yup, that's exactly what I needed -- thanks,
Francis Hwang
http://fhwang.net/
On Jul 9, 2008, at 9:53 PM, David Chelimsky wrote:
On Jul 9, 2008, at 5:36 PM, Francis Hwang wrote:
... is there a way to do this? We have some REST-ish POSTs we'd
like to spec out. In the controller this gets
Sorry if this has been answered elsewhere, Google was not very helpful
to me on this one. If I'm running a model spec and am one of those
benighted souls who wants to hit the DB while doing so, is there a way
for me to tell RSpec to skip transactions? In Test::Unit I can say
uses_transaction
On Wed, May 6, 2009 at 9:47 AM, Nicholas Van Weerdenburg
vanwe...@gmail.com wrote:
As far as I can tell, RSpec simply uses inherited TestCase capabilities for
transactions, including use_transactional_fixtures (it's config setting is
simply passed on) and likely uses_transaction.
I'm guessing
=#{self.run_in_transaction?}
end
runs as expected, providing false when the uses_transaction is set, and true
otherwise (assuming config.use_transactional_fixtures = true).
Regards,
Nick
On Wed, May 6, 2009 at 12:43 PM, Francis Hwang s...@fhwang.net wrote:
On Wed, May 6, 2009 at 9:47 AM
How about both top and bottom posting?
Francis Hwang
http://fhwang.net/
On May 6, 2009, at 8:46 PM, Ben Mabey wrote:
lol.. Yes. :) Sarcasm somethings doesn't come across well over
email I suppose.
How about both top and bottom posting?
Francis Hwang
http://fhwang.net
13 matches
Mail list logo