El 07/07/2010, a las 01:16, Lalish-Menagh, Trevor escribió:
> Hi David,
>
> You make a good point. I was talking with a coworker about this
> problem, and he suggested a simpler format, that I think will coincide
> some with Wincent's thoughts. Here is my next stab
> (http://gist.github.com/46606
I am sure most of you could do this easily, but I wanted to write down
how I got there in any case, so here are my instructions on how to set
up rspec-rails to hack on:
http://trevmex.com/post/779078048/how-to-start-hacking-a-ruby-project
Enjoy,
Trevor
--
Trevor Lalish-Menagh
484.868.6150 mobile
Hi David,
You make a good point. I was talking with a coworker about this
problem, and he suggested a simpler format, that I think will coincide
some with Wincent's thoughts. Here is my next stab
(http://gist.github.com/466064):
describe "routing" do
it "recognizes and generates #index" do
g
On Jul 6, 2010, at 11:00 AM, Arco wrote:
> Is there a change log for the Rspec2 beta?
Just the commit logs.
>
> I couldn't find one in the source or wiki...
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/r
Is there a change log for the Rspec2 beta?
I couldn't find one in the source or wiki...
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Jul 5, 2010, at 2:59 PM, Lalish-Menagh, Trevor wrote:
> OK, I will chime in here, since I think I might have opened up this
> can of worms. :)
>
> I agree with David that we should stick with wrapping the Rails public
> APIs. That is: assert_generates, assert_recognizes, and assert_routing
> (h
On Jul 6, 2010, at 6:49 AM, andreyr wrote:
> Hi,
>
> i have a problem that any of my rspec rake tasks fail with the following
> error:
> rake -f unittests.rake spec
> ** Invoke spec (first_time)
> ** Execute spec
> C:/Ruby18/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/l
Hi,
i have a problem that any of my rspec rake tasks fail with the following
error:
rake -f unittests.rake spec
** Invoke spec (first_time)
** Execute spec
C:/Ruby18/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/logger.rb:53:
undefined method `datetime_format=' for class
David Chelimsky wrote:
>
> Looks like action_pack calls render twice (the 2nd time in
> action_controller/metal/implicit_render.rb:10:in `default_render'), so
> we've got to stub the :render call twice:
>
> page = double('page')
> controller.stub(:render)
> controller.stub(:render).with(:update