I was agreeing! I wasn't saying that what you were saying there wasn't
expressing the intent in the model, I was saying that my long ramble was
saying the same thing roughly, and that this differs from the standard
approach in rails of using ActiveRecord:Base class methods directly.
Apologies for
Andreas's patch at
http://rspec.lighthouseapp.com/attachments/69957/0001-Fixed-spec_server-to-work-with-Rails-2.2.2.patchseems
to fix this.
///ark
On Thu, Dec 11, 2008 at 6:01 PM, Mark Wilden m...@mwilden.com wrote:
Just in case anyone can just short-circuit this, I upgraded to Rails 2.2.2
I'm having troubles to test methods on controllers, specially this method:
def update
@property = @user.properties.find(params[:id])
if params[:property][:owner_id].blank?
@owner = Owner.create_from_user(@user)
@property.owner = @owner
end
if
Daniel Lopes danielvlo...@gmail.com writes:
I'm having troubles to test methods on controllers, specially this method:
def update
@property = @user.properties.find(params[:id])
if params[:property][:owner_id].blank?
@owner = Owner.create_from_user(@user)
Thanks, now it's looks obivious. :D
Atenciosamente,
Daniel Lopes Area Criações
Design, Websites e Sistemas Web
Visite: http://www.areacriacoes.com.br/projects
http://blog.areacriacoes.com.br/
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
55 (31)
I'm having the following problem:
With the format as html, the output of cucumber stops coloring successful
steps green after step #100. This last line in the HTML is:
script type=text/javascriptstepPassed(100)/script
Steps 101 -n are colored grey. The body tag is not closed but all steps
On Fri, Dec 12, 2008 at 9:39 PM, Steve Molitor stevemoli...@gmail.comwrote:
I'm having the following problem:
With the format as html, the output of cucumber stops coloring successful
steps green after step #100. This last line in the HTML is:
script
On Sat, Dec 13, 2008 at 12:55 AM, Emmanuel Pinault seatm...@gmail.comwrote:
Hi
So I built a custom formatter as the default html provided seems to lack
few information (like number of scenarios that passed,failed, skipped ..)
I cannot seem to load my custom scenario
I called it
Is the explanation of --format not clear? Have you tried:
cucumber -r my_formatter -f MyFormatter mytest.feature
Yes, I tried that too and it is not working still. I started to digg
in the cli.rb and clearly there is a registration process happening in
the build_formatter_broadcaster.
OK, I think I figured out the problem.
I had the following
module Cucumber
module Formatters
class MyFormatter
As soon I as removed it from that module, then it started to work. I
am not seeing different call and steps in the visitor printing ...
maybe a nice simple example of create a
On Sat, Dec 13, 2008 at 1:22 AM, Emmanuel Pinault seatm...@gmail.comwrote:
Is the explanation of --format not clear? Have you tried:
cucumber -r my_formatter -f MyFormatter mytest.feature
Yes, I tried that too and it is not working still. I started to digg in the
cli.rb and clearly there
Did you try -f Cucumber::Formatters::MyFormatter ?
That should have worked.
Yep works as well. Now that I have all the different possible hooks
printed and ordering of events,. I can work on creating my template :)
If you are interested I ll send you some of the improvments. I am
using
12 matches
Mail list logo