On 4 Jun 2008, at 15:14, Matt Mower wrote:
On Wed, Jun 4, 2008 at 3:06 PM, David Chelimsky
[EMAIL PROTECTED] wrote:
Rails 2.1 supports plugins from git.
Yep 2.1 and I used script/plugin to install from git this time. That's
new again to me since I've been using piston for quite a while (or
HI Scott.
On Thu, Jun 5, 2008 at 3:05 AM, Scott Taylor
[EMAIL PROTECTED] wrote:
There's a general idea with rspec (and one which probably isn't present in
other testing frameworks) that says that testing *should* influence your
design. I'm sure this is one of the reasons that David considers
Hi, imagine there's a class called Egg which has the following method
(which calls another method):
CODE
def do_thing
has_iterated = false
self.each_row do |row|
has_iterated = true unless has_iterated
end
has_iterated
end
/CODE
Stupid code, I know.
I have two questions with it.
On Jun 4, 2008, at 9:05 PM, Scott Taylor wrote:
There's a general idea with rspec (and one which probably isn't
present in other testing frameworks) that says that testing *should*
influence your design.
This isn't really a framework issue - it's about TDD. Remember that
BDD started off
On Jun 5, 2008, at 5:07 AM, Matt Mower wrote:
Does your patch work? I wasn't clear whether David was saying that
it doesn't.
The patch works but is incomplete and duplicates a bunch of code. You
should probably be able to use it as/is for what you need.
Cheers,
David
Hi,
I am using the 'spec/story' module with Fire(Watir).
Is there additional logging?
I don't want to do this:
code
Then the resultant links are displayed with the search text in each
description do
browser.links.each do |lnk|
if lnk.id =~ /programmeLink/
lnk.click
Use xml_http_request in your stories rather than xhr. I believe the xhr
method is aliased to the wrong method... I haven't looked to see if this is
a Rails issue or a rspec-rails issue,
Zach
On Thu, Jun 5, 2008 at 1:33 AM, Mikel Lindsaar [EMAIL PROTECTED] wrote:
Getting a strange error.
In a
On Thu, Jun 5, 2008 at 5:46 AM, Doug Livesey [EMAIL PROTECTED] wrote:
I have two questions with it. The first is, would it be possible to set
it up to test the case when each_row operates on an empty Array?
If there were no rows, each_row wouldn't yield at all, so you should
just be able to do
I have a story that executes the following (as an example to show the
bug I'm experiencing):
--
Given I have a fake post saved do
@postCount = Post.find(:all).length
@post = Post.new
@post.employee_id = 123
@post.name = Name of the
On Fri, Jun 6, 2008 at 1:39 AM, Zach Dennis [EMAIL PROTECTED] wrote:
Use xml_http_request in your stories rather than xhr. I believe the xhr
method is aliased to the wrong method... I haven't looked to see if this is
a Rails issue or a rspec-rails issue,
Thanks, that worked.
Mikel
10 matches
Mail list logo