On Aug 29, 2008, at 10:40 PM, Nick Hoffman wrote:
On 2008-08-28, at 13:27, Zach Dennis wrote:
You can put it in a module and include it for model specs in
spec_helper.rb
Spec::Runner.configure do |config|
# ...
config.include DescribeModelAttributeSpecHelper, :type => :model
end
Zach
Hi
On Fri, Aug 29, 2008 at 7:12 PM, <[EMAIL PROTECTED]> wrote:
> +1!
+1 here too...please pressure these mysterious lurking powers that be
to publish a beta ;-)
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/r
On 2008-08-28, at 13:27, Zach Dennis wrote:
You can put it in a module and include it for model specs in
spec_helper.rb
Spec::Runner.configure do |config|
# ...
config.include DescribeModelAttributeSpecHelper, :type => :model
end
Zach
Hi Zach. I put the methods into the module "ModelSpecc
On Aug 29, 2008, at 2:39 PM, Dan North wrote:
ooh, that would be lovely.
LayoutBehave anyone?
Well, I don't see why there couldn't be one, assuming there was a CSS
parser out there.
I've started a treetop CSS2 parser, but just don't have the time to
devote to it. Anyone interested?
On Fri, Aug 29, 2008 at 6:22 PM, Ben Mabey <[EMAIL PROTECTED]> wrote:
> Hi all,
> Where can we add tickets for Cucumber? While trying to migrate a
> current project I ran into a snag.. specially that cucumber does not
> support multi-line steps like the edge rspec story runner (which makes
> sense
+1!
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: "Rick DeNatale" <[EMAIL PROTECTED]>
Date: Fri, 29 Aug 2008 18:57:37
To: rspec-users
Subject: Re: [rspec-users] RSpec Book(s) on the radar
___
rspec-users mailing list
rspe
Hi all,
Where can we add tickets for Cucumber? While trying to migrate a
current project I ran into a snag.. specially that cucumber does not
support multi-line steps like the edge rspec story runner (which makes
sense since this was such a new feature to the story runner.) Anyways,
I don't have
On Fri, Aug 29, 2008 at 5:57 PM, Rick DeNatale <[EMAIL PROTECTED]> wrote:
> On Fri, Aug 29, 2008 at 3:14 PM, Anthony Green <[EMAIL PROTECTED]> wrote:
>>
>> If this has any sway at all... I've bought every (ruby/rails) beta book
>> from
>> pragprog and manning and nearly always followed it up with a
On Fri, Aug 29, 2008 at 3:14 PM, Anthony Green <[EMAIL PROTECTED]> wrote:
>
> If this has any sway at all... I've bought every (ruby/rails) beta book
> from
> pragprog and manning and nearly always followed it up with a hard copy on
> publication.
>
> I'd like to see a beta please, please, please
On Aug 29, 2008, at 1:58 PM, Christopher Bailey wrote:
I too would suggest trying attaches_file. I use it in a few
different stories I have, and it works fine for me. I don't
believe I'm doing anything nonstandard. Here's the basics of what
yep, works for me :)
thx__
If this has any sway at all... I've bought every (ruby/rails) beta book from
pragprog and manning and nearly always followed it up with a hard copy on
publication.
I'd like to see a beta please, please, please
Tony
On 29/08/2008 16:02, "David Chelimsky" <[EMAIL PROTECTED]> wrote:
> It's def
This is one of the tiny-but-amazing details that makes me excited about
cucumber. (That's one of those sentences you don't want blogged... "No, I
meant cucumber the *framework*")
Aslak has done some really cool stuff here - I don't think we've started to
realise the power of combining tables and G
When Webrat matches 'Exception caught' on the get/post response body it
tries to save the response body down as a html file and then invokes
opening it in a browser (I believe the opening only works on OS X though
I've never tested it in another os).
This is a very useful feature unless you get
On 29 aug 2008, at 21:06, David Chelimsky wrote:
On Fri, Aug 29, 2008 at 1:37 PM, Bart Zonneveld <[EMAIL PROTECTED]
> wrote:
Hey list,
This is a kinda quirky
It's only quirky-ish.
That made me laugh out loud :).
question for this list, but I do think it belongs
here. I'm currently writi
On Fri, Aug 29, 2008 at 1:37 PM, Bart Zonneveld <[EMAIL PROTECTED]> wrote:
> Hey list,
>
> This is a kinda quirky
It's only quirky-ish.
> question for this list, but I do think it belongs
> here. I'm currently writing an app with users with different roles. Roles
> are sequentially so to speak, s
ooh, that would be lovely.
LayoutBehave anyone?
2008/8/20 Matt Wynne <[EMAIL PROTECTED]>
> +1
>
> cheers,
> Matt
>
> http://blog.mattwynne.net
> http://songkick.com
>
> In case you wondered: The opinions expressed in this email are my own and
> do not necessarily reflect the views of any f
On Aug 29, 2008, at 1:19 PM, Jonathan Linowes wrote:
i am trying that too, but at this point in my story i dont actually
have the current record object to generate the form action path.
How would i extract the :action = path from the in the
current response.body ?
got it
#assuming on
Hey list,
This is a kinda quirky question for this list, but I do think it
belongs here. I'm currently writing an app with users with different
roles. Roles are sequentially so to speak, so role 2 can do everything
role 1 can, and so on.
If I truly test my whole app, I should test all behav
At the risk of being a bit controversial...
2008/8/24 David Chelimsky <[EMAIL PROTECTED]>
[...]
> Sadly, "spec" has just as much baggage, if not more, as "test" does.
> These days we're calling these things "code examples," (tongue
> pressing into cheek) so maybe we should change the name to
> rc
I too would suggest trying attaches_file. I use it in a few different
stories I have, and it works fine for me. I don't believe I'm doing
anything nonstandard. Here's the basics of what one of mine looks like
(stripped out some fills_in's, etc. to declutter the example):
When "create a new hot
As the author of the original scenario runner, if Aslak has come up with a
nicer implementation - both in terms of design and hackability - then I say
chuck my one out and use his :)
As long as it is an easy adjustment (i.e. transparent or with an easy
migration) for users of the current scenario
On Aug 29, 2008, at 12:52 PM, Ben Mabey wrote:
Jonathan Linowes wrote:
I've read through the messages on this list, and have file upload
specs working in my model and controller tests, using :file =>
ActionController::TestUploadedFile.new(filepath)
But its not working in stories using webrat.
Jonathan Linowes wrote:
> I've read through the messages on this list, and have file upload
> specs working in my model and controller tests, using :file =>
> ActionController::TestUploadedFile.new(filepath)
>
> But its not working in stories using webrat. I've tried
>
> fills_in "foo[file]", :
I've read through the messages on this list, and have file upload
specs working in my model and controller tests, using :file =>
ActionController::TestUploadedFile.new(filepath)
But its not working in stories using webrat. I've tried
fills_in "foo[file]", :with => filepath
and
fills
On 2008-08-29, at 11:05, David Chelimsky wrote:
On Fri, Aug 29, 2008 at 9:03 AM, Nick Hoffman <[EMAIL PROTECTED]>
wrote:
On 2008-08-29, at 04:51, Joseph Wilk wrote:
I started using a set of methods to deal with this problem from
code in
the RadiantCMS(http://radiantcms.org/) project.
http
On Fri, Aug 29, 2008 at 9:03 AM, Nick Hoffman <[EMAIL PROTECTED]> wrote:
> On 2008-08-29, at 04:51, Joseph Wilk wrote:
>>
>> I started using a set of methods to deal with this problem from code in
>> the RadiantCMS(http://radiantcms.org/) project.
>>
>> http://gist.github.com/7936
>>
>> I stopped u
It's definitely happening. We've enlisted a few additional
contributors and the wheels are spinning faster now.
As for the beta book, I don't know if there will be on at this point.
We may go straight to print. Either way, I'll update as I know more
and I'll start blogging about progress shortly.
David Chelimsky wrote:
> On Jan 2, 2008 8:05 PM, Bart Zonneveld <[EMAIL PROTECTED]> wrote:
>
>> Curious, are the Stories going to be part of the rspec book?
>
> Yep.
>
>> Eagerly waiting on that one...
>
> Us too!
David...February has given way to September (almost) and stll no date or
beta b
On 2008-08-29, at 05:06, Joseph Wilk wrote:
Each method generates specs depending on its arguments
How does each method generate the specs?
* Using script/generate rspec...
or
* File handling and writing your own?
--
Joseph Wilk
http://www.joesniff.co.uk
Hi again Joseph. Each method generate
On 2008-08-29, at 04:51, Joseph Wilk wrote:
I started using a set of methods to deal with this problem from code
in
the RadiantCMS(http://radiantcms.org/) project.
http://gist.github.com/7936
I stopped using it after a while finding the tests did not read well.
Your method improves on Radiant
>Each method generates specs depending on its arguments
How does each method generate the specs?
* Using script/generate rspec...
or
* File handling and writing your own?
--
Joseph Wilk
http://www.joesniff.co.uk
Nick Hoffman wrote:
> I'm writing a Rails plugin that generates specs for Rails mode
I started using a set of methods to deal with this problem from code in
the RadiantCMS(http://radiantcms.org/) project.
http://gist.github.com/7936
I stopped using it after a while finding the tests did not read well.
Your method improves on Radiant's which has tempted me to start testing
mode
32 matches
Mail list logo