Validation doesn't mean it's formatted to be readable though, does it?
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1.3
rspec_on_rails 1.1.3
rails 2.0.2
On Feb 8, 2008, at 5:23 PM, Rick DeNatale wrote:
> Not sure what you're talking about.
>
> 1) My blog is just standa
sounds good guys, thanks :)
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1.3
rspec_on_rails 1.1.3
rails 2.0.2
On Feb 4, 2008, at 1:14 AM, Pat Maddox wrote:
> On Feb 3, 2008 9:19 PM, Nathan Sutton <[EMAIL PROTECTED]> wrote:
>> Hey guys, I'm trying to work out the orde
...but how to actually do it is what confuses me. Anyone know of
any screencasts or tutorials working through the development of a
feature in this way?
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1.3
rspec_on_rails 1.1.3
rails 2.0.2
___
rspec-users ma
awesome
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 28, 2008, at 5:24 PM, Jay Donnell wrote:
> I apologize, I oversimplified for the sake of brevity. We have most
> of the models written but there are some pieces than aren't and
> won'
I made this address for mailing lists only, but as it is I only have
14 spam messages at the moment...
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 18, 2008, at 12:03 PM, David Richards wrote:
> I was disgruntled with the amount of spam I was getting, s
Awesome David, yeah I was quite surprised that verbose was on by
default in 3.7.2.
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 13, 2008, at 9:33 PM, David Chelimsky wrote:
> On Jan 13, 2008 9:14 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
>>
Set $VERBOSE=false in your .autotest file in your home directory.
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.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 <[EM
We're clearly at green!
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 11, 2008, at 10:19 AM, Jonathan Linowes wrote:
>
> On Jan 11, 2008, at 5:50 AM, David Chelimsky wrote:
>
>> Apparently, Pat and I are twins separated at birth.
>
>
That too :)
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 10, 2008, at 6:59 PM, David Chelimsky wrote:
> On Jan 10, 2008 6:48 PM, Nathan Sutton <[EMAIL PROTECTED]>
> wrote:
>> You should browse over how shoulda does it here:
>> http:/
You should browse over how shoulda does it here:
http://thoughtbot.com/projects/shoulda/tutorial/controllers
and here:
http://dev.thoughtbot.com/shoulda/classes/ThoughtBot/Shoulda/Controller/ClassMethods.html
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 10
Well then, hop to! ;)
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 10, 2008, at 6:10 PM, David Chelimsky wrote:
> On Jan 10, 2008 6:07 PM, Nathan Sutton <[EMAIL PROTECTED]>
> wrote:
>> Hey now! Really though, have you ever been digging thro
time/energy, so this is a simple solution. :)
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 10, 2008, at 6:04 PM, David Chelimsky wrote:
> On Jan 10, 2008 6:02 PM, Nathan Sutton <[EMAIL PROTECTED]>
> wrote:
>> Nathan Sutton
>> [
There David goes, making sense again.
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 10, 2008, at 5:59 PM, David Chelimsky wrote:
> On Jan 10, 2008 5:50 PM, Nathan Sutton <[EMAIL PROTECTED]>
> wrote:
>> Also, that strikes me as strang
Also, that strikes me as strange that the current philosophy is that
for the rspec_on_rails plugin. I would think rails-specific matchers
would be endorsed at some point, since rails is so big on convention.
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 10
We'll see if I get around to it. It would be a lot of work, I think,
and I know a couple people who have started similar efforts.
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 10, 2008, at 5:47 PM, Josh Knowles wrote:
> On 1/10/08, Nathan Sutton
Hmm, that includes a good number of them, but there's still the
restful resource to think about, which is in my opinion the most
valuable one. Would you consider the addition of a restful resource
matcher similar to shoulda's?
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on
tious programmer go to town implementing these
for rspec_on_rails?
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Yeah, this is truly needed, you have a second from me.
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.1
On Dec 21, 2007, at 1:59 PM, Jonathan Leighton wrote:
> Hi all,
>
> Are there any plans for better documentation for the new StoryRunner
> feature? I tri
Well put.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 3052
rspec_on_rails edge revision 3049
rails 2.0.1
On Dec 12, 2007, at 4:37 PM, David Chelimsky wrote:
> On Dec 12, 2007 5:03 AM, Thijs Cadier <[EMAIL PROTECTED]> wrote:
>>
>> Has anybody been taking a look at th
It's likely to fall completely on its face in a horrific manner,
you'll enjoy life much more if you use edge rspec.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 3052
rspec_on_rails edge revision 3049
rails edge revision 8269
On Dec 11, 2007, at 5:48 PM, Yitzhak Bar Geva wrote
As usual, David to the rescue.
Thanks,
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 3052
rspec_on_rails edge revision 3049
rails edge revision 8269
On Dec 11, 2007, at 12:40 PM, David Chelimsky wrote:
> On Dec 11, 2007 12:28 PM, Ben Mabey <[EMAIL PROTECTED]> wrote:
>>
&
I wouldn't even know what to check to determine whether it had been
moved.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 3052
rspec_on_rails edge revision 3049
rails edge revision 8269
On Dec 11, 2007, at 12:28 PM, Ben Mabey wrote:
> Nathan Sutton wrote:
>> I tried c
I tried checking it out today using instructions here:
http://rspec.rubyforge.org/tools/extensions/editors/textmate.html
I get a 'svn: Connection closed unexpectedly'. Did it move or is it
down?
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 3052
rspec_on_rails edge revision
It's worked since I started using rspec, but I started relatively
recently, and only on edge.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 3014
rspec_on_rails edge revision 3014
rails edge revision 8238
On Dec 3, 2007, at 1:23 PM, David Chelimsky wrote:
> On Dec 3, 2007
Department.stub!(:find_by_code).with("75").and_return("3")
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 3014
rspec_on_rails edge revision 3014
rails edge revision 8238
On Dec 3, 2007, at 12:33 PM, Sahyoun wrote:
> Hello,
>
> I'm confused why the spec
Yeah, should work, but wanted to note it as I've had endless issues
with it on leopard. My boss' growlnotify doesn't work, mine works
perfectly since I installed Office 2004, and the forums say it doesn't
work at all...
Nathan Sutton
[EMAIL PROTECTED]
rspe
Thought I'd share that growlnotify has issues on leopard, it's touch
and go as to if it will work or not.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 3014
rspec_on_rails edge revision 3014
rails edge revision 8238
On Nov 30, 2007, at 11:43 AM, Rick DeNatale wrote:
> On
Dang scott, your website is messed up ;)
Also, did you get my email about the rspec shared behaviors with
parameters? I won't have time to do it this weekend, so feel free.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2944
rspec_on_rails edge revision 2944
rails edge revision
Bah, I won't have time to do this anytime soon, you can feel free,
Scott.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2944
rspec_on_rails edge revision 2944
rails edge revision 8186
On Nov 21, 2007, at 10:25 PM, Scott Taylor wrote:
>
> On Nov 21, 2007, at 11:14 PM, Ben
n(@company)
@company.stub!(:addresses)
@company.addresses.stub!(:find).with("1").and_return(@address)
end
end
Give that a shot, you might want to make some of those expectations
instead of stubs, depending on your style.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2944
Anyone else have any opinions on this? I'd like to get some more input.
Thanks,
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision 8175
On Nov 21, 2007, at 4:58 PM, Scott Taylor wrote:
>
> On Nov 21, 2007, at 5:42 PM, Na
Not even sure, what are your thoughts?
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision 8175
On Nov 21, 2007, at 4:31 PM, Scott Taylor wrote:
>
> On Nov 21, 2007, at 5:16 PM, Nathan Sutton wrote:
>
>> Ooh, I totally
Oh, and the reason I include this is because it's always a question
when discussing things, and this makes it always available, both to
those reading now and those who may read these conversations in the
future.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails
Yeah, I'm currently doing it manually though, and this email is only
for mailing lists.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision 8175
On Nov 21, 2007, at 4:31 PM, David Chelimsky wrote:
> On Nov 21, 2007 4:16 PM
Ooh, I totally want to do this, I'll work on it this week along with
my other patch i have yet to submit this week, unless Scott is partial
to doing it. Do you want it, Scott?
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision
convention to define. It still feels hackish, but not
nearly as much. Is there another way?
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision 8175
On Nov 21, 2007, at 3:31 PM, aslak hellesoy wrote:
> On Nov 21, 2007 10:22 PM, Da
David to the rescue! :)
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision 8175
On Nov 21, 2007, at 3:22 PM, David Chelimsky wrote:
> On Nov 21, 2007 3:14 PM, Daniel N <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>&g
Did you try self.class
??
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision 8175
On Nov 21, 2007, at 3:14 PM, Daniel N wrote:
> Hi,
>
> I want to be able to get at the described class in my shared
> behaviour. I'
ializer or environment.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision 8175
On Nov 21, 2007, at 2:31 PM, Shane Mingins wrote:
Hi
Just something that I have been finding very helpful sometimes when
I am stuck with "how co
Ok, if you want to do it messy and uninformed, do it my way. ;)
I've heard of Fixture Scenarios but I heard they were broken with edge
rspec, but I'll check out Exemplar, ModelStubbing, and
FixtureReplacement.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_
Err, Scenarios
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision 8167
On Nov 20, 2007, at 10:22 AM, Scott Taylor wrote:
>
> On Nov 20, 2007, at 11:20 AM, David Chelimsky wrote:
>
>> On Nov 20, 2007 10:20 AM,
<< ALPHA[rand(52)]
end
txt # maybe a returning block? can't remember if that works here
end
def create_user(options={})
User.create!({ :name => random_text,
:password => random_text}.merge(options))
end
Nathan Sutton
[EMA
Didn't have time tonight, stand-by for something tomorrow.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision 8167
On Nov 19, 2007, at 11:02 AM, David Chelimsky wrote:
> On Nov 19, 2007 11:00 AM, Nathan Sutton <[EMAI
Perfect, thanks Dave. I can make a patch tonight, if ya want.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision 8167
On Nov 19, 2007, at 3:23 AM, David Chelimsky wrote:
> On Nov 18, 2007 10:57 PM, Nathan Sutton <[EMAIL PRO
I can't get my plain text stories to show pending actions like the
example addition plain text story. Any tips? (See below)
http://pastie.caboo.se/119627
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision
0
Should be able to turn on or off. don't know if the first went through.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2894
rspec_on_rails edge revision 2894
rails edge revision 8146
On Nov 18, 2007, at 9:59 AM, David Chelimsky wrote:
> Hi all,
>
> As an experiment i
0
Keep it, but make it a configuration option with default-off.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2894
rspec_on_rails edge revision 2894
rails edge revision 8146
On Nov 18, 2007, at 9:59 AM, David Chelimsky wrote:
> Hi all,
>
> As an experiment in playing nice wi
Very very cool. So while GivenScenario is useful for chaining
scenarios, if you want to spec out a process you can also do it this
way. Very cool.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2894
rspec_on_rails edge revision 2894
rails edge revision 8146
On Nov 16, 2007, at 1:03
You mentioned on your blog when talking about stories:
http://dannorth.net/whats-in-a-story
That you can chain events like this:
Scenario
Given
When
Then
When
Then
When
Then
etc...
Is this possible in rspec?
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2894
rspec_on_rails edge revision
I have non non-plain-text story without any steps_for, can it be run?
If so, how?
Thanks,
Nate
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
I was trying to run it from all.rb, but having no luck. I can run
them individually.
Nathan Sutton
[EMAIL PROTECTED]
rspec edge revision 2894
rspec_on_rails edge revision 2894
rails edge revision 8146
On Nov 15, 2007, at 5:57 PM, David Chelimsky wrote:
> On Nov 15, 2007 4:22 PM, Nat
s that any state you set up (@variables,
mixins, etc.) are available for the other steps. It's useful for
incrementally building up something like a workflow or a state engine.
Cheers,
Dan
On Nov 15, 2007 3:01 AM, Nathan Sutton <[EMAIL PROTECTED]> wrote:
I'm writing a plain text
I'm writing a plain text story (testing the waters) and I have
scenarios that I need to chain in my specs.
Here is what I have so far:
Story: User purchasing tshirts
As a user
I want to checkout
So that I can purchase shirts
Scenario: User goes to checkout with nothing in cart
Woo, nice docs in there, ha! ;)
How is it intended to be used?
Thanks,
Nate
On Nov 14, 2007, at 6:26 PM, John W. Long wrote:
> On Nov 14, 2007, at 6:25 PM, Nathan Sutton wrote:
>> Hey guys, just poppin in to ask if anyone knows when stories will be
>> somewhat stable? We
much better: script/spec spec -fh > spec_doc.html
Nate
On Nov 14, 2007, at 7:10 PM, Mark McG. wrote:
> Mark McG. wrote:
>> I have a project on edge rails that I'm trying to convert from
>> Test:Unit
>> to rspec.I have the rspec gem version 2338, the rspec and
>> rsepc_on_rails version 2831
2007 5:25 PM, Nathan Sutton <[EMAIL PROTECTED]> wrote:
>> Hey guys, just poppin in to ask if anyone knows when stories will be
>> somewhat stable?
>
> Are you serious? Stories haven't even been released yet :)
>
> Realistically, names like Story, Scenario, Given, W
Hey guys, just poppin in to ask if anyone knows when stories will be
somewhat stable? We're starting to use integration tests at work,
we're already using rspec, and I'd like to avoid integration tests if
possible.
Thanks,
Nate "fowlduck" Sutton
> This is especially true in cases where the reply might be two or
> three lines long, and the untrimmed quoted message stretches on for
> screenfuls.
I totally agree, in fact I let most of these conversations just pass
by because it's too much work to sift through all the nested quotes.
I'd
I'm all over that like white on rice on a paper plate in a snowstorm.
Nate
On Oct 5, 2007, at 8:26 AM, David Chelimsky wrote:
> On 10/5/07, Cody P. Skidmore <[EMAIL PROTECTED]> wrote:
>> I just found this one: http://tinyurl.com/3c3mfa
>>
>> David, are there any other RSpec books in the works?
So how do you work with cookies properly in rspec now? I noticed in
the docs that it mentions session, assigns, and flash, but nothing of
cookie. I'm using edge rails so I'm concerned about changes to the
cookie mechanisms. I need to assign values into the cookie (a
remember token for re
On Oct 4, 2007, at 6:24 AM, David Chelimsky wrote:
> On 10/4/07, Nathan Sutton <[EMAIL PROTECTED]> wrote:
>> How would I go about writing specs for a lib, particularly one with
>> all protected and private methods. I'm trying to spec the
>> Authentica
How would I go about writing specs for a lib, particularly one with
all protected and private methods. I'm trying to spec the
AuthenticatedSystem library from the rails restful_authentication
plugin:
http://pastie.caboo.se/103625
Also, when you're mocking objects, a side-effect is helping y
One of the things that turned me on to BDD and RSpec was speccing
views first, that the desired end would drive the development. In
previous projects while using Test::Unit I would try to make educated
guesses as to what would be needed in the model and controllers to
derive the view witho
63 matches
Mail list logo