Hi there,
i have written a little Ruby Program called RemoteFeature (It’s more a
Hack as of now).
It lets you run Cucumber/RSpec Features that are defined in a
37Signals-Writeboard and updates
the Writeboard automagically. I have made a Screencast about this. It is
available at my blog:
http://matt
A year back or so i wrote a helper_method "step_eval(stepname,
stepgroupname)" for the old storyrunnerframework that still works with
the current rspec gem.
The method has just 9 loc and think it would be even less with
cucumber.
Here is an executable script:
http://pastie.org/363852
Matthia
Hi Greg,
maybe you did not append a colon to the word 'Story' in the plain
text file.
The runner want it this way:
Story: Story Title ...
Matthias
Am 27.02.2008 um 15:14 schrieb Greg Gigon:
> Hi Guys
> I'm new to Ruby and BDD.
> I'm having a problem while running my story in plain text.
> This
ntinuation points to nil and
the next step in evaluation is line 13 in your spec file.
Matthias Hennemeyer
Am 01.03.2008 um 18:37 schrieb Giles Bowkett:
I appear to have written code which travels backwards through time:
http://www.vimeo.com/742590
This disturbs me immensely. If anyone c
Am 03.03.2008 um 04:38 schrieb Namrata Tiwari:
> The method find_city is in application controller. I think the method
> 'find_city' is being called but its expecting some args.
>
The message:
Mock 'ArticlesController' expected :find_city with (any args) once, but
received
it 0 times
means th
I would prefer two independent steps:
1) Specify (or test) the plugin so that you can trust that it works
as intended.
2) Write a custom matcher (behave_in_a_cool_way) that lets you
express that you want to have added some_cool_behavior to SomeModel:
describe SomeModel
it "should show so
Hey all,
you HAVE to read this blog post:
http://blog.jrock.us/articles/RSpec%20vs.%20Test::More.pod#comments
My favorite parts are:
1)
... some rspec code ...
> For the sake of comparison lets translate this directly into perl:
... some perl code ...
2)
>First, notice that the rspec-version i
Hi,
I've written a micro-dsl to spec the step-implementations for rspec
user stories.
Here is a blog post about it:
http://www.workunitgroup.com/2008/4/21/introducing-stepspecr
It lives on github:
http://github.com/mhennemeyer/stepspecr
Some info (from the README)
StepSpecr is a Rails plug
Hi Perryn,
maybe you'll find this interesting:
http://www.workunitgroup.com/2008/4/23/crafting-rspec-steps-with-
step_eval-and-drying-them-with-a-helper
The DRYing thing begins at the middle of the second part of this
series.
matthias
___
rspec-use
Hi James,
i'm afraid this rspec user list is not the right list for your question.
Matthias
Am 25.04.2008 um 10:59 schrieb 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
Hey!
I have implemented a quick solution for the should != .. , should !
~ ... 'problem'.
It uses source code inspection (I think it's the only way) and i've
done some
benchmarking to see if it's really that slow.
A direct comparison of
running '1.should == 1'
with the unmodified rspec sourc
Am 02.06.2008 um 20:01 schrieb Pat Maddox:
What about showing an ugly warning in the test runner? != is a funky
edge case that can really bite people. It'd be nice to have it fixed,
but then tell the programmer to change it to == because of
performance.
Pat
You have to stub that count method for the Array object and not for
class Array:
comments = [comment]
comments.stub!(:count).and_return(1)
post_98.stub!(:comments).and_return(comments)
post_99.stub!(:comments).and_return(comments)
Matthias
Am 06.06.2008 um 23:48 schrieb Gaston Ramos:
Hi all
Pat Maddox posted about this: http://evang.eli.st/blog/2008/5/14/
refactoring-with-shared-example-groups
Matthias.
Am 10.06.2008 um 05:25 schrieb Gaston Ramos:
Hi guys, I have one question:
When refactoring the working code I need or should refactoring the
specs too?
My old code is:
h
Hi Mike,
the request methods used in Controller tests are defined in Rails:
ActionController::TestProcess.
Rspec Rails Stories are basically Rails Integration tests and the
methods used here are defined in Rails:
ActionController::Integration::Session.
Matthias
Am 12.06.2008 um 08:40 sc
Hi,
it would be nice if the rspec site could be also available at
www.rspec.info.
Matthias
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Thank you David!
Matthias
Am 22.06.2008 um 15:14 schrieb David Chelimsky:
I just added www to the DNS, so everybody should have it sometime
today.
On Jun 22, 2008, at 8:10 AM, T K wrote:
It's up for me. Can anybody else confirm this?
___
rspec-u
17 matches
Mail list logo