Re: [rspec-users] Best practices to managing RSpec code for verylar ge projects?

2010-02-04 Thread Steve Schafer
On Thu, 4 Feb 2010 09:51:08 -0500, you wrote: It's just a small battle in the never-ending war against the increase of entropy. It may seem hard, but remember the more you fight it the more you delay the heat death of the universe! G Actually, it's just the opposite: Any attempt to reduce local

Re: [rspec-users] Problem Comparing Floats

2009-08-24 Thread Steve Schafer
On Mon, 24 Aug 2009 10:56:00 -0700, you wrote: This will work (I'll go update the code now) but it still leaves the problem I mentioned that if you are unfamiliar with the vagaries of floating point math -- or even if you momentarily forget -- then using == will occasionally mysteriously fail. So

Re: [rspec-users] top posting and plain text

2009-05-06 Thread Steve Schafer
Just so you know, _your_ message isn't just plain text. Here's a portion of the raw message: --===0527642389== Content-Type: multipart/alternative; boundary=001636c5b0eedf7860046942ecfc --001636c5b0eedf7860046942ecfc Content-Type: text/plain; charset=ISO-8859-1

Re: [rspec-users] Depot app, Demeter's law and troubles cleanly spe cing

2009-04-21 Thread Steve Schafer
On Mon, 20 Apr 2009 12:40:08 -0700, you wrote: I wrote a blog post that may be helpful. http://www.patmaddox.com/blog/demeter-is-for-encapsulation Basically, when you have structural objects as in this case, demeter isn't useful. That's a good example as far as it goes, but I think it makes a

Re: [rspec-users] Someone please name this matcher for me

2008-08-06 Thread Steve Schafer
On Wed, 6 Aug 2008 13:50:27 -0400, you wrote: I've had a matcher in my head for a couple months, that I frequently want but never get around to writing because I can't think of the name for it. Here's how it would look [1, 2, 3, 4, 1].should ... [1, 3, 1, 4, 2] An unordered collection with