Re: [rspec-users] test case creation for a pizza ordering site

2012-11-17 Thread George Dinwiddie
while. Start with the guts of placing an order. In fact, I'd probably start with only a single type of pizza available online. You can start with one central idea, and then grow the concept into a full-featured pizza ordering site. - George -- --

Re: [rspec-users] more question

2012-08-16 Thread George Dinwiddie
http://rspec.info/ and http://cukes.info/ -- -- * George Dinwiddie * http://blog.gdinwiddie.com Software Developmenthttp://www.idiacomputing.com Consultant and

Re: [rspec-users] How to set cookies before request spec?

2012-02-16 Thread George Dinwiddie
Class In that snippit, "request" has not been constructed and therefore is nil. - George -- ------ * George Dinwiddie * http://blog.gdinwiddie.com Software Developmenthttp://w

Re: [rspec-users] Game development: how to test interactions like an attack?

2012-02-02 Thread George Dinwiddie
ios where one has great skill and the other little. Is it possible for the attacker to miss? - George -- ------ * George Dinwiddie * http://blog.gdinwiddie.com Software Development

Re: [rspec-users] where does cucumber.yml live?

2012-01-06 Thread George Dinwiddie
e the same information? https://github.com/cucumber/cucumber/wiki/cucumber.yml https://github.com/cucumber/cucumber/wiki/Running-Features - George -- -- * George Dinwiddie * http://blog.gdinwiddie.com

Re: [rspec-users] Write tests for objects with lots of dependencies

2011-11-15 Thread George Dinwiddie
e than we'd like to admit. But it always ends up biting you in the end. -- ------ * George Dinwiddie * http://blog.gdinwiddie.com Software Developmenthttp://www.idia

Re: [rspec-users] Comparing files

2010-12-10 Thread George Dinwiddie
On 12/10/10 12:07 PM, Josh Chisholm wrote: On Fri, Dec 10, 2010 at 4:30 PM, George Dinwiddie wrote: I once saw (but now cannot find) and image compare library that did a "fuzzy compare" that wasn't fooled by pixel differences. I've looked for this several times, but haven

Re: [rspec-users] Comparing files

2010-12-10 Thread George Dinwiddie
I've looked for this several times, but haven't been able to turn it up again. It's out there, though, in the scientific community (IIRC) rather than the software testing community. - George -- Dec. 14 - Agile Richmond i

Re: [rspec-users] RSpec2 not supported in Netbeans

2010-12-10 Thread George Dinwiddie
but try the command 'rspec' instead. -- Dec. 14 - Agile Richmond in Glen Allen, VA http://georgedinwiddie.eventbrite.com/ ------ * George Dinwiddie * http://blog.gdinwiddie.com Software Devel

Re: [rspec-users] How do you enable verbose output from command line?

2010-08-24 Thread George
That did it, thanks David. On Aug 20, 3:12 pm, David Chelimsky wrote: > On Aug 20, 2010, at 3:36 AM, George wrote: > > > Using this command our specs run with the dot-dot-dot output: > > >  jruby -X-C -S rake spec SPEC=spec/models/trip_spec.rb > > > But how do we ma

[rspec-users] How do you enable verbose output from command line?

2010-08-20 Thread George
Using this command our specs run with the dot-dot-dot output: jruby -X-C -S rake spec SPEC=spec/models/trip_spec.rb But how do we make the output verbose? (To see each spec description) Many thanks, George ___ rspec-users mailing list rspec-users

Re: [rspec-users] [newbie] tradeoffs of direct model access vs. simulated browser (webrat)

2010-08-05 Thread George Dinwiddie
verifying business rules at the lowest level possible. It's easier to do so, and it also helps cover all the possibiities. George Dinwiddie has blogged about this I think but I can't find the reference. I've certainly talked a lot on acceptance testing at multiple levels, but I

Re: [rspec-users] Best way to match several attributes of an object?

2010-03-30 Thread George
Yep, that's a fair point and may improve readability if I set up the compare object in a before method. Good idea, thanks David. George On Mar 30, 5:43 pm, David Chelimsky wrote: > On Mar 30, 2010, at 9:23 AM, George wrote: > > > > > When you need to check several proper

[rspec-users] Best way to match several attributes of an object?

2010-03-30 Thread George
When you need to check several properties of an object, what is the best way to match them all? I'm using the 'satisfy' matcher at the moment but perhaps there's a better way than this: flight.should satisfy { |f| f.booking_code== @parsed_pnr_data[:pnr_number] &&

Re: [rspec-users] bmabey-fakefs Not Found Error when installing rspec 1.2.

2009-10-10 Thread George Mauer
DanS wrote: > I'm trying to install rspec so I can work with the new book chapter. > This what the console shows after running "rake install_gem" > > Successfully built RubyGem > Name: rspec > Version: 1.2.9.rc1 > File: rspec-1.2.9.rc1.gem > mv rspec-1.2.9.rc1.gem pkg/rspec-1.2.9.rc1.gem >

Re: [rspec-users] Problem Comparing Dates

2009-08-21 Thread George Anderson
uld == now end end Cheers, /g -- George Anderson BenevolentCode LLC O: (410) 461-7553 C: (410) 218-5185 geo...@benevolentcode.com On Fri, Aug 21, 2009 at 12:26 PM, Tom Stuart wrote: > On 21 Aug 2009, at 17:15, George Anderson wrote: >> >> expected: Fri, 21 Aug 2009 16:08:51 UTC

[rspec-users] Problem Comparing Dates

2009-08-21 Thread George Anderson
sqlite3 Database schema version 20090812181104 Thanks, /g -- George Anderson BenevolentCode LLC geo...@benevolentcode.com ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] RSpec with edge rails (2.3 RC1)

2009-02-25 Thread George Anderson
Thanks, David. That was a good call. I had these installed: dchelimsky-rspec (1.1.11.1) dchelimsky-rspec-rails (1.1.11.1) They were getting picked up instead of the new 1.1.99.9 gems. Once I uninstalled them, everything worked. Thanks again. I appreciate the support. /g -- George

Re: [rspec-users] RSpec with edge rails (2.3 RC1)

2009-02-25 Thread George Anderson
> Is something in your app is requiring version 1.1.11.1 in specific? Negative. That was my thought too, but no such requirement exists. /g -- George Anderson BenevolentCode LLC O: (410) 461-7553 C: (410) 218-5185 geo...@benevolentcode.com On Wed, Feb 25, 2009 at 5:29 PM, David Chelim

Re: [rspec-users] RSpec with edge rails (2.3 RC1)

2009-02-25 Thread George Anderson
I pulled both repos and tried 'rake gem' but got 'permission denied' 'sudo rake gem' worked: ~/work/rspec (master) $ rake gem (in /Users/george/work/rspec) /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/gempackagetask.rb:13:Warning: Gem::manage_gems is deprec

Re: [rspec-users] RSpec with edge rails (2.3 RC1)

2009-02-25 Thread George Anderson
ted_fixtures = false config.fixture_path = RAILS_ROOT + '/spec/fixtures/' end So it looks as if I need to update the dependency version for rspec to be 1.1.99.9, but I'm not sure where I need to do that. Thanks, /g -- George Anderson BenevolentCode LLC O: (410) 461-7553 C: (410) 218-

[rspec-users] RSpec with edge rails (2.3 RC1)

2009-02-25 Thread George Anderson
m not sure I'm on the right path to start with, so I don't think that would be helpful. Thanks, /g -- George Anderson BenevolentCode LLC O: (410) 461-7553 C: (410) 218-5185 geo...@benevolentcode.com ___ rspec-users mailing list rspec-use

Re: [rspec-users] "Plugin not found" after RSpec install

2008-05-06 Thread George Anderson
is there > and the output reported scores of items being installed. > > Any idea why I get that error? > > Thanks, > > Ethan > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/l

[rspec-users] Net:SSH

2008-04-25 Thread James George
Guys I'm having a problem with net-ssh, its kinda taking too long to execute a command and give me the results. It takes around 40 seonds to do it. And I have 3-4 commands to run on the remote box. Is there any possibility to speed up the process. Im using the commands to run on a CISCO BTS server

Re: [rspec-users] rspec at github

2008-04-09 Thread George Anderson
x27;s official: http://tinyurl.com/5npxxb > > Git some happiness! > > Cheers, > David > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- George

Re: [rspec-users] i can haz buk?

2008-04-08 Thread George Anderson
Thx. Remember, when you think "Beta Book," set your expectations low. We're motivated consumers; we'll buy an "Alpha Book." Sorry to distract you from writing. /g On Tue, Apr 8, 2008 at 10:21 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Tue, A

[rspec-users] i can haz buk?

2008-04-08 Thread George Anderson
David, Aslak, Any word on the most eagerly anticipated book ever? /g -- George Anderson BenevolentCode LLC ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] [Q] bug in mocks or user error?

2008-03-28 Thread George Anderson
the wrong > intermediate. I tried: > #and_return([:key, :value]) > #and_return([[:key, :value]]) > #and_return(:key, :value) > > None worked. Is this a bug or am I misusing mocks? > > cr > ___ > rspec-users mailing

[rspec-users] Pretty story output for non-Rails project

2008-03-03 Thread George Anderson
ut to look pretty (formatted)? rspec-1.1.3 OS X 10.5.2 TextMate v1.5.7 (1455) Thanks, /g -- George Anderson BenevolentCode LLC O: (410) 461-7553 C: (410) 218-5185 [EMAIL PROTECTED] ___ rspec-users mailing list rspec-users@rubyforge.org http://rub

Re: [rspec-users] new in ruby and rspec testing

2008-01-18 Thread George Anderson
s for replie's > -- > Posted via http://www.ruby-forum.com/. > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- George Anderson BenevolentCode LLC O: (410) 461-7553 C: (41

Re: [rspec-users] best way to modify spec (the command-line tool)?

2008-01-04 Thread George Anderson
rtfolio: http://www.gilesgoatboy.org > Tumblelog: http://giles.tumblr.com > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- George Anderson BenevolentCode LLC O: (41

Re: [rspec-users] Textmate Formatting has gone away

2007-10-26 Thread George Anderson
; that you only need to do that once. > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- George Anderson BenevolentCode LLC O: (410) 461-7553 C: (410) 218-5185 [EMAIL P

Re: [rspec-users] Stubbing Kernel.` (backquote)

2007-10-24 Thread George Anderson
d ... end Note, my spec has changed a bit since my original post, but the gist remains. I hope this helps someone down the line. If you have a better way of spec'ing calls to a subshell, I'd live to hear it. /g On 10/24/07, George Anderson <[EMAIL PROTECTED]> wrote: > I&

[rspec-users] Stubbing Kernel.` (backquote)

2007-10-24 Thread George Anderson
un this (using cmd-d in the TM bundle), the test passes, but I get this line injected about the green "should make a copy of the file": /Users/george/work/simplify_md/vendor/plugins/rspec/lib/spec/mocks/proxy.rb:129: command not found: OcrBarcode /Users/george/work/simplify_md/tmp/valid_2007

Re: [rspec-users] Problem Upgrading from 1.0.5 to 1.0.8

2007-10-23 Thread George Anderson
o/rspec-users > > > > Looks like I have piston set to use this: > > svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec > > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- George Anderson Be

Re: [rspec-users] Top Quoting?

2007-10-15 Thread George Anderson
> Yes? What was the question, again? /g ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] [RSpec] Unexpected behavior using TextMate Bundle...

2007-10-12 Thread George Anderson
> rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- George Anderson BenevolentCode LLC O: (410) 461-7553 C: (410) 218-5185 [EMAIL PROTECTED] ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Incompatibility Issues after updating CURRENT

2007-10-11 Thread George Anderson
e, David. /g On 10/11/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On 10/11/07, George Anderson <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm using piston to manage rspec and rspec_on_rails in vendor/plugins. > > > > > > ~

[rspec-users] Incompatibility Issues after updating CURRENT

2007-10-11 Thread George Anderson
rk/simplify_md $ script/spec spec/controllers/patients_controller_spec.rb /Users/george/work/simplify_md/vendor/plugins/rspec_on_rails/lib/spec/rails/version.rb:14: (RuntimeError) Your RSpec on Rails plugin is i