Re: [rspec-users] default to just call the method?

2010-01-20 Thread Corey Haines
>>> define_simple_predicate_matcher :risen_from_the_ashes => >>> :rises_from_the_ashes? >> -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Excluding a spec subdirectory from rake spec

2011-02-08 Thread Corey Haines
I have a directory in my spec directory that I want to exclude from rake spec That is, I have spec/lib_no_rails And I don't want it to run when I do rake spec Best way? Thanks. -Corey -- http://www.coreyhaines.com The Internet's Premiere source of information about Co

[rspec-users] Excluding a spec subdirectory from rake spec

2011-02-10 Thread Corey Haines
oglegroups.com> > Content-Type: text/plain; charset=ISO-8859-1 > > > > On Feb 8, 6:49?pm, Corey Haines wrote: >> I have a directory in my spec directory that I want to exclude from rake spec >> >> That is, I have >> spec/lib_no_rails >> >> An

Re: [rspec-users] rSpec troubles

2007-12-16 Thread Corey Haines
Did you install with dependencies? On Dec 16, 2007 11:15 AM, Michael Riley <[EMAIL PROTECTED]> wrote: > > Hello All, > > I am hoping someone can help me. I am having a nightmare of a time > trying to get rSpec to work. It was working at one time, but I tried > installing Zentest to get autot

[rspec-users] ExampleGroup and SharedExampleGroup relationship(?)

2007-12-27 Thread Corey Haines
ttp://www.coreyhaines.com/coreysramblings/2007/12/22/ARubyNewbieLooksThroughRSpecPartIIIDescribeRedux.aspx part 4: I'm working on this, which is where I noticed the ExampleGroup/SharedExampleGroup thing. -Corey -- http://www.coreyhaines.com The Internet&

Re: [rspec-users] ExampleGroup and SharedExampleGroup relationship(?)

2007-12-27 Thread Corey Haines
ec 27, 2007 8:30 AM, Corey Haines <[EMAIL PROTECTED]> wrote: > > I expected to see SharedExampleGroup < ExampleGroup, but, instead, I saw > > SharedExampleGroup < Module. This is incredibly confusing to me. I > realize > > that they don't even need to have any rel

Re: [rspec-users] View spec'ing style

2008-01-13 Thread Corey Haines
____ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] .html.erb files and autotest

2008-01-13 Thread Corey Haines
find any specs anywhere. Help? I just need to have /app/views/coupon/index.html.erb to map to /spec/views/coupon/index_spec.rb -Corey -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mail

Re: [rspec-users] .html.erb files and autotest

2008-01-13 Thread Corey Haines
Okay, thanks. On Jan 13, 2008 4:54 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Jan 13, 2008 3:51 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > > When I work with a .html.erb file, the autotest rspec on rails stuff > doesn't > > understand the file to ma

Re: [rspec-users] .html.erb files and autotest

2008-01-13 Thread Corey Haines
I get this Dunno! app/views/coupon/index.html.erb On Jan 13, 2008 5:29 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > Okay, thanks. > > > On Jan 13, 2008 4:54 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > > > On Jan 13, 2008 3:51 PM, Corey Haines <[EMAIL

Re: [rspec-users] .html.erb files and autotest

2008-01-13 Thread Corey Haines
.0.2 > > On Jan 13, 2008, at 9:10 PM, Corey Haines wrote: > > I get this > > Dunno! app/views/coupon/index.html.erb > > > > On Jan 13, 2008 5:29 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > > > Okay, thanks. > > > > > > On Jan 13, 200

Re: [rspec-users] .html.erb files and autotest

2008-01-13 Thread Corey Haines
Okay. Thanks for the help, guys. I'm back on track! On Jan 13, 2008 10:33 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Jan 13, 2008 9:14 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > > Awesome! That worked perfectly, Nathan! Thanks. > > There will soon (lik

Re: [rspec-users] Okay, I'm finally asking for help

2008-01-14 Thread Corey Haines
That was it! Thanks, Rick! Sorry about not posting the failure. DOH! Thanks again, everyone! -Corey On Jan 14, 2008 9:38 PM, Rick DeNatale <[EMAIL PROTECTED]> wrote: > On 1/14/08, Corey Haines <[EMAIL PROTECTED]> wrote: > > Hi, all! > > > > I would love if some

[rspec-users] Okay, I'm finally asking for help

2008-01-14 Thread Corey Haines
ethod: def save_coupon @coupon = Coupon.new(params[:coupon]) @coupon.save redirect_to :action => :index end Now, I've tried it through the browser, and it works. Any thoughts? I appreciate it. -Corey -- http://www.coreyhaines.com The Internet's Premiere source of information a

[rspec-users] autotest problem?

2008-01-19 Thread Corey Haines
Display this help. Deprecated options: --consoleConsole runner (use --runner). --gtkGTK runner (use --runner). --foxFox runner (use --runner). -- http://www.coreyhaines.com The Internet's Premier

Re: [rspec-users] autotest problem?

2008-01-19 Thread Corey Haines
gin, but I just did an update this morning. Here's my .autotest require 'redgreen/autotest' require 'Win32/Console/ANSI' require 'autotest/snarl' $VERBOSE=false -Corey On Jan 19, 2008 12:47 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Ja

Re: [rspec-users] autotest problem?

2008-01-19 Thread Corey Haines
PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Jan 19, 2008 11:54 AM, Corey Haines <[EMAIL PROTECTED]> wrote: > > sorry, keep forgetting about the versions. Here's the gem list > > > > ZenTest (3.8.0, 3.7.2, 3.7.1, 3.6.1) > > redgreen (1.2.2)

Re: [rspec-users] Changing rspec directory structure

2008-01-23 Thread Corey Haines
ay to organize this? > > Will. > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information

Re: [rspec-users] Not seeing the failure

2008-01-23 Thread Corey Haines
Oh, and one follow-up, the app works how I expect it to work if I run through the browser. On Jan 23, 2008 9:41 AM, Corey Haines <[EMAIL PROTECTED]> wrote: > All, > > I'm missing something simple, I think. I am writing a spec to say that my > CouponController should creat

Re: [rspec-users] Not seeing the failure

2008-01-23 Thread Corey Haines
Of course. Thanks, David! I still am getting used to user=, rather than just user. Thanks again. -Corey On Jan 23, 2008 9:46 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Jan 23, 2008 8:41 AM, Corey Haines <[EMAIL PROTECTED]> wrote: > > All, > > > > I&#x

[rspec-users] Not seeing the failure

2008-01-23 Thread Corey Haines
rgot: rails 2.0.2 rspec(_on_rails) plugins just updated from current a couple days ago, not totally sure how to get the versions of the plugins Thanks. -Corey -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Not seeing the failure

2008-01-23 Thread Corey Haines
ite up a blog entry on this pattern, and I'll send a link when I post it. Thanks for your help. -Corey On Jan 23, 2008 10:03 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Jan 23, 2008 8:49 AM, Corey Haines <[EMAIL PROTECTED]> wrote: > > Of course. Thanks, David!

Re: [rspec-users] Not seeing the failure

2008-01-23 Thread Corey Haines
Strange. I'll try it again, but it failed, which was why I added the stub. Let me see if I mis-typed something. On Jan 23, 2008 10:35 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Jan 23, 2008 9:24 AM, Corey Haines <[EMAIL PROTECTED]> wrote: > > Thanks, David! >

Re: [rspec-users] Not seeing the failure

2008-01-23 Thread Corey Haines
ROTECTED]> wrote: > On Jan 23, 2008 9:24 AM, Corey Haines <[EMAIL PROTECTED]> wrote: > > Thanks, David! > > > > Here's what I morphed the specs into: > > > > http://pastie.caboo.se/142411 > > > > And, I ended up with a blog entry that I&#

Re: [rspec-users] Not seeing the failure

2008-01-23 Thread Corey Haines
limsky.net/articles/2006/11/09/tutorial-rspec-stubs-and-mocks > > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Not seeing the failure

2008-01-23 Thread Corey Haines
ote: > On 23.1.2008, at 18.02, Corey Haines wrote: > > > I get the unexpected message :user= failure. > > > > When you set up the mock with the initial parameters, wouldn't those > > be stubbing: @coupon.stub!(:user).and_return(@current_user) > > > >

Re: [rspec-users] Not seeing the failure

2008-01-23 Thread Corey Haines
Ooops, I mean still getting Mock 'Coupon_1011' received unexpected message :user= with (#) On Jan 23, 2008 11:57 AM, Corey Haines <[EMAIL PROTECTED]> wrote: > Nope, that still didn't work. > Still getting > @coupon.stub!(:user=).with(@current_user) > >

Re: [rspec-users] Not seeing the failure

2008-01-23 Thread Corey Haines
wrote: > > On 23.1.2008, at 18.57, Corey Haines wrote: > > > Nope, that still didn't work. > > Still getting > > @coupon.stub!(:user=).with(@current_user) > > > > Here's my spec and code using your recommended way: > > > > spec - http:/

Re: [rspec-users] Not seeing the failure

2008-01-26 Thread Corey Haines
Thanks, Pat. -Corey On Jan 25, 2008 12:22 AM, Pat Maddox <[EMAIL PROTECTED]> wrote: > No, the mock is set up to return nil when user= is called. Then he > writes an example to actually expect the call to user=. > > Pat > > On Jan 23, 2008 8:02 AM, Corey Haines <[EMA

Re: [rspec-users] Not seeing the failure

2008-01-27 Thread Corey Haines
<[EMAIL PROTECTED]> wrote: > On Jan 23, 2008 9:24 AM, Corey Haines <[EMAIL PROTECTED]> wrote: > > Thanks, David! > > > > Here's what I morphed the specs into: > > > > http://pastie.caboo.se/142411 > > > > And, I ended up with a blog

[rspec-users] OT local version control?

2008-01-27 Thread Corey Haines
ou all use? -Corey -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] I thought the RSPec community might be interested

2008-01-29 Thread Corey Haines
> http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] (no subject)

2008-01-30 Thread Corey Haines
ay) > irb(main):003:1> lambda { array.clear } > irb(main):004:1> end > => nil > irb(main):005:0> fun = foo a > => # > irb(main):006:0> fun.call > => [] > irb(main):007:0> a > => [] > ___ > rs

Re: [rspec-users] loading fixtures?

2008-01-31 Thread Corey Haines
ENV=development > > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere so

Re: [rspec-users] loading fixtures?

2008-01-31 Thread Corey Haines
rake db:fixtures:load doesn't work? On Jan 31, 2008 6:57 PM, Andrew WC Brown <[EMAIL PROTECTED]> wrote: > no, just database > > > On Jan 31, 2008 6:56 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > > > Do you want to load them in your controller?

Re: [rspec-users] loading fixtures?

2008-02-02 Thread Corey Haines
e test fixtures, instead of the spec fixtures directory.Does it > > work for you? > > > > On Jan 31, 2008 7:03 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > > > > > rake db:fixtures:load doesn't work? > > > > > > > &g

Re: [rspec-users] OT local version control?

2008-02-03 Thread Corey Haines
27;t do so well under biiig repositories. > > > > mercurial: also fast (seeing a pattern here?). Seems to scale well. > > Has > > > (deliberately) svn/cvs-like command set where it can, so easy to > > adopt. This > > > is where I've ended up. > > > > monotone: the

Re: [rspec-users] OT local version control?

2008-02-03 Thread Corey Haines
eir input. -Corey On Feb 3, 2008 12:23 PM, Luis Lavena <[EMAIL PROTECTED]> wrote: > On Feb 3, 2008 3:13 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > > Thanks to everyone for their comments, as well as the lack of SCM > fighting. > > :) Being on vista, it appears th

Re: [rspec-users] OT local version control?

2008-02-03 Thread Corey Haines
:) We are moving to TFS soon, which will be nice. -Corey On Feb 3, 2008 12:48 PM, Andrew WC Brown <[EMAIL PROTECTED]> wrote: > sourcesafe! I'm suggestively working on getting the company I'm at onto > Subversion instead.I feel your pain > > On Feb 3, 2008 12

Re: [rspec-users] OT local version control?

2008-02-03 Thread Corey Haines
Thanks, Luis! I'll do my best to post my findings on my blog. -Corey On Feb 3, 2008 1:00 PM, Luis Lavena <[EMAIL PROTECTED]> wrote: > On Feb 3, 2008 3:45 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > > I'll check that out, too, Luis. Thanks! > > > >

Re: [rspec-users] OT local version control?

2008-02-04 Thread Corey Haines
ral things at once. I'll let you guys know how it goes. -Corey On Feb 4, 2008 7:09 PM, Luis Lavena <[EMAIL PROTECTED]> wrote: > On Feb 4, 2008 9:28 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > > Since it sounds like people don't mind talking about source control,

Re: [rspec-users] OT local version control?

2008-02-04 Thread Corey Haines
rouble in my mind with this, so I'll leave that to the next level. -Corey On Feb 3, 2008 1:28 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > Thanks, Luis! > > I'll do my best to post my findings on my blog. > > -Corey > > > On Feb 3, 2008 1:00 PM, Luis Lave

Re: [rspec-users] OT local version control?

2008-02-05 Thread Corey Haines
s files getting > moved and/or renamed), and subversion wouldn't merge the changes from the > branch onto trunk. > > > On 05/02/2008, Corey Haines <[EMAIL PROTECTED]> wrote: > > > > Thanks for the response, Luis. > > > > I'm going through the us

Re: [rspec-users] rspec - rails put :update any examples

2008-02-05 Thread Corey Haines
__ > > rspec-users mailing list > > rspec-users@rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > ___ > rspec-users mailing list > rspec-users@rubyforge.org >

Re: [rspec-users] rspec - rails put :update any examples

2008-02-05 Thread Corey Haines
And, of course, here are my versions: Ruby 1.8.6 Rails 2.0.2 Zentest 3.8 RSpec (I believe 1.1.2) On Feb 5, 2008 7:42 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > David, I tried doing this, and I get an exception. Here's a pastie of the > error, controller, cont

Re: [rspec-users] rails rspec silently failing

2008-02-05 Thread Corey Haines
t; Taking a few deep breaths, > -w > > > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] rspec - rails put :update any examples

2008-02-10 Thread Corey Haines
> rspec-users mailing list > > > > rspec-users@rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > > > ___ > > > rspec-users mailing list > > > rspec-user

Re: [rspec-users] Problem with testing for an exception from a controller method

2008-02-18 Thread Corey Haines
urse :) > > So, now, "should_not be_success" passes ok, but should i be more specific > and require a particular error code? If so, which would i get from a get > call that's failed because of a RuntimeError exception? > > thanks! > > > On 18/02/2008, Corey Hain

Re: [rspec-users] Problem with testing for an exception from a controller method

2008-02-18 Thread Corey Haines
n error when called' FAILED > expected RuntimeError but nothing was raised > > > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com

Re: [rspec-users] OT local version control?

2008-02-27 Thread Corey Haines
gs of DSCM, since you all know that I'm new at it. http://www.faithfulgeek.org/2008/2/24/distributed-source-control-with-corey-haines Thanks. -Corey On Tue, Feb 5, 2008 at 2:16 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > Thanks, Dan, I'll check that out. > > -Corey &g

[rspec-users] textmate bundle

2008-03-04 Thread Corey Haines
Hi, I'm just getting e set up on my machine, and I was wondering if someone could point me to the current rspec bundle for textmate? I googled and found a million of them, I think. Thanks. -Corey -- http://www.coreyhaines.com The Internet's Premiere source of information about Co

Re: [rspec-users] textmate bundle

2008-03-04 Thread Corey Haines
Thanks, David. On Tue, Mar 4, 2008 at 3:13 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Tue, Mar 4, 2008 at 2:04 PM, Corey Haines <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > I'm just getting e set up on my machine, and I was wondering if someon

Re: [rspec-users] rspec vs. test::more

2008-03-04 Thread Corey Haines
; rspec-users@rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > > -- > Kornelis Sietsma korny at my surname dot com > kornys at gmail dot com on google chat -- kornys on skype > "we do what we must, because we can" > ___ >

[rspec-users] Testing that a model helper method is called

2008-03-05 Thread Corey Haines
avior is there, since I have tested the behavior already in my plugin. Thanks. -Corey -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://

Re: [rspec-users] Testing that a model helper method is called

2008-03-05 Thread Corey Haines
Thanks, Pat, that appeared to work. -Corey On Wed, Mar 5, 2008 at 1:10 PM, Pat Maddox <[EMAIL PROTECTED]> wrote: > On Wed, Mar 5, 2008 at 10:05 AM, Corey Haines <[EMAIL PROTECTED]> > wrote: > > So, I have a plugin that adds a method to ActiveRecord::Base, let

Re: [rspec-users] mocking successive return values

2008-03-05 Thread Corey Haines
eans and why you have to do it? Thanks, -Corey -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] mocking successive return values

2008-03-05 Thread Corey Haines
Wow! That is really cool. Thanks for the explanation, Pat. -Corey ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Including my plugin specs into rake spec

2008-03-06 Thread Corey Haines
es.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] ridding away with do_request

2008-03-09 Thread Corey Haines
> > > > > Thoughts? > > > > > > -- > > > Zach Dennis > > > http://www.continuousthinking.com > > > ___ > > > rspec-users mailing list > > > rspec-users@rubyforge.org > >

[rspec-users] Story testing views in isolation

2008-03-10 Thread Corey Haines
oping to use stories. -Corey -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] outside-in = integration tests on views?

2008-03-11 Thread Corey Haines
> rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___

Re: [rspec-users] Story testing views in isolation

2008-03-11 Thread Corey Haines
e them use example groups; it isn't like example groups are so incredibly cryptic. When you format as specdoc, they provide a decent doumentation; I do like stories better, though. :) -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___

Re: [rspec-users] Story testing views in isolation

2008-03-14 Thread Corey Haines
gt; Jarkko Laine > http://jlaine.net > http://odesign.fi > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines __

Re: [rspec-users] Multiple should_receive(:render).with

2008-03-14 Thread Corey Haines
e and thus failing. How do I avoid this? > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Specifing methods in a steps_for block

2008-03-17 Thread Corey Haines
uot; do > include_requirement "user should see text 'Adam'" > include_requirement "user should see text 'Smith'" > include_requirement "user should see text '[EMAIL PROTECTED]'" > end > > > Is anything like this currently possible? If not, would it be (a) a Good > Thing and (b) straightforward to implement? > > Ashley > > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] ApplicationHelper

2008-03-20 Thread Corey Haines
users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] ApplicationHelper

2008-03-20 Thread Corey Haines
If I need to have it interact with the object it is mixed into, I usually put the following above my examples class TestMixer include MyMixIn end or, even, class TestMixer end then, in the spec, TestMixer.include MyMixIn On Thu, Mar 20, 2008 at 2:30 PM, Corey Haines <[EMAIL PROTEC

Re: [rspec-users] Oh inheritacne, wherefore art thou

2008-03-20 Thread Corey Haines
far the best I have > been able to do is write shared descriptions but this gets messy very > quickly and causes all sorts of problems that I think makes it > undesirable. > > Can anyone suggest a nice way for me to achieve the above. > ___

Re: [rspec-users] Pending Scenarios

2008-03-21 Thread Corey Haines
On Fri, Mar 21, 2008 at 11:56 AM, Rick DeNatale <[EMAIL PROTECTED]> wrote: > > Doesn't it already work this way? > > If I "comment out" lines this way in a plain text story, they seem to > be totally ignored. > I believe that is because the current behavior is that anything that doesn't start wit

Re: [rspec-users] Pending Scenarios

2008-03-21 Thread Corey Haines
like it is pulling away from plain text. It seems like this really would only contribute to the ease-of-implementation for multi-line steps. Could you instead have a token for multi-line, some sort of (shudder) line continuation character? -Corey Haines ___

Re: [rspec-users] Win MoNeY Online

2008-03-22 Thread Corey Haines
id:costel333.. > -- > Posted via http://www.ruby-forum.com/. > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Int

Re: [rspec-users] Win MoNeY Online

2008-03-22 Thread Corey Haines
+1 On Sat, Mar 22, 2008 at 2:49 PM, Ashley Moran <[EMAIL PROTECTED]> wrote: > > On Mar 22, 2008, at 1:18 pm, Corey Haines wrote: > > start making money by > > clicking on surf ads and visit sites from the list for 30s, for each > > site that you visit you recei

[rspec-users] Plaint Text Stories Comments in output?

2008-03-25 Thread Corey Haines
includes the Card: 5732 line. Right now, they aren't output, as they are ignored by the runner. Thanks. -Corey -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rub

Re: [rspec-users] Plaint Text Stories Comments in output?

2008-03-25 Thread Corey Haines
On Tue, Mar 25, 2008 at 2:00 PM, aslak hellesoy <[EMAIL PROTECTED]> wrote: > On Tue, Mar 25, 2008 at 5:56 PM, Corey Haines <[EMAIL PROTECTED]> > wrote: > > Is there an easy way to get a story output that includes comment text > inside > > the Scenario? > >

[rspec-users] pending plain text story step

2008-03-25 Thread Corey Haines
haines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] pending plain text story step

2008-03-26 Thread Corey Haines
On Wed, Mar 26, 2008 at 8:23 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Tue, Mar 25, 2008 at 4:54 PM, Corey Haines <[EMAIL PROTECTED]> > wrote: > > #pending works when creating a step for a plain text story, but adding > text > > to the method call does

Re: [rspec-users] [ANN] rspec_hpricot_matchers 1.0: have_tag on hpricot

2008-03-27 Thread Corey Haines
re-usable matchers be a good > idea? (Maybe just a page on rspec.info?) > > > Ashley > > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo

Re: [rspec-users] Stub an instance method for every new instance of a class

2008-04-01 Thread Corey Haines
spec-users mailing list > > rspec-users@rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > _______ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] [ANN] rspec_hpricot_matchers 1.0: have_tag on hpricot

2008-04-02 Thread Corey Haines
> rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Stub an instance method for every new instance of a class

2008-04-02 Thread Corey Haines
not sure how that would work. For controller specs, I want to keep > most of the controller intact so that I can verify its actual behavior. Am I > missing something? > > > On Tue, Apr 1, 2008 at 12:12 PM, David Chelimsky <[EMAIL PROTECTED]> > wrote: > > > On Tu

Re: [rspec-users] Newbie : how to require to lib from spec under autotest?

2008-04-05 Thread Corey Haines
86-cygwin > . > Now autotest gets the proper require twice in a row, when the spec file > reads : > > require 'bowling' > > Hope this helps you, next grasshopper of the RSpec FU! > > > -- > Peter Fitzgibbons > -- > iPhone -- "IT"-ness. > href= > http://www.macdailynews.com/index.php/weblog/comments/apples_iphone_could_become_iconic_it_object > -- > > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Advice / Turning a Usecase into a Rspec Story / Granularity ofstories

2008-04-08 Thread Corey Haines
there a good > > "sample" app out there on the interweb? > > Or perhaps someone from the list wants to share their story? :) > > I addressed this in my talk at ETEC last week. Slides are here: > > http://www.chariotsolutions.com/slides/pdfs/ete2008-IntegrationTestingWithRSpec.pdf > > Cheers, > David > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] ANN: RSpactor 0.9.10 (aka. beta)

2008-04-28 Thread Corey Haines
. > - Andreas > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- http://www.coreyhaines.com The Internet's Premiere source of information about Corey Haines __

Re: [rspec-users] ANN: RSpactor 0.9.10 (aka. beta)

2008-04-28 Thread Corey Haines
Well, I got it running (seemingly), but I'm not 100% sure how to use it. -Corey On Mon, Apr 28, 2008 at 8:08 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > I'm using rspactor now over autotest. I'll give the beta a shot. > -Corey > > > On Mon, Apr 28, 2008 at