Hello Specmeisters!
I have a bit of a philosophical question for the TDD witches and
wizards out there. I'm working on some code that is really
churning... It's doing complicated calculations, but the actual
desired results are a moving target. The acceptable values, and even
the structure of the
ails.snowedin.net/?p=33) and failed.
All the best,
Erik Pukinskis
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Maddox <[EMAIL PROTECTED]> wrote:
> "Erik Pukinskis" <[EMAIL PROTECTED]> writes:
>
>> * a matcher that accepts a block and passes on some information, like
>> has_tag?
>> * a matcher that can go in that block and use that information, like
>>
> The approach I like to take is to follow the guidance of the system
> (cucumber + rspec) every step of the way. Right now there are no
> passing steps, so I'd write the code for the 1st pending step, run the
> features and find the first thing that is missing or failing.
This is one thing I don'
Yes, that should work. But you'd have to do
Given /^there is a country "(.*)" with the cities:$/ do |country_name,
cities_table|
...
end
Erik
On Thu, Jan 29, 2009 at 12:47 AM, Juanma Cervera wrote:
> Is it possible to mix a normal parameter argument for a step, with
> tabular data?
>
> Somethi
I thought other people might be interested in these step definitions.
They allow you to write steps like:
Given the following "turkeys" exist:
|name |size |intelligence|
|marko |big |dumb|
|mello |small |smart|
Or,
Then the following "turkeys" should exist:
...
Dear Rspecucumberatubyists,
I have a Rails app that creates subdomains, and I'd like to verify
them in a cucumber feature like so:
When I visit http://blingo.myapp.com
Then I should see "Welcome to blingo!"
The trouble is, webrat's visit method strips the domain off, and keeps
only the path,
Hi there!
I'm trying to spec out some code that will set the smtp_settings in a
custom ActiveMailer object. Basically I want to check that if my
configuration object has the right smtp_server, that the ActiveMailer
object gets set up correctly. So, my spec looks like this:
it "uses smtp serve