Hi all,
Often I find myself wishing there was a way to add comments to cucumber text
features that are ignored by the parser. Is this possible somehow?
Thanks!
Ingo
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/list
Hi all,
I am developing a rails plugin/gem with rspec. The plugin extends
ActiveRecord, so the specs basically needs a complete environment with
database access to run. What is a good way to set this up in a way
that can be bundled with the plugin, maybe in the form of a stripped-
down rai
order to not have to include a 'Given language ...' in all of my
stories. Is that possible?
Ingo
On Jan 15, 2008, at 4:07 PM, Chris Parsons wrote:
> Hi Ingo,
>
> On 15 Jan 2008, at 14:55, Ingo Weiss wrote:
>
>> how/where do I load fixtures in stories?
>
>
Hi all,
how/where do I load fixtures in stories?
Ingo
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Hi,
I would like to use the 'lazy' style of url generation in my views,
omitting parameters from my calls to url_for (and named route
methods) that are then filled in from the current request parameters.
Example:
url_for(:action => 'index') will fill in (:controller => 'posts') if
params[:c
Thanks David,
in this case stubbing out method1 helped me a lot with focusing on
what I want to test, without being distracted by having to follow
down the call stack
Ingo
On Sep 6, 2007, at 5:40 PM, David Chelimsky wrote:
> On 9/6/07, Ingo Weiss <[EMAIL PROTECTED]> wrote:
>&
Hi,
I am stuck with a problem in my helper specs. Say I have a helper
with two methods, method1 and method2, where method2 is calling
method1 internally. How can I stub out method1 when testing method2?
I guess it boils down to how I can access the helper object from
within a helper spec.
Hi,
is there a way to assert in rspec that a template is rendered in a
specific layout?
Thanks!
Ingo
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Hi all,
did anybody get 'fixture scenario builder' (http://errtheblog.com/post/
7708) to work with rspec? I am getting the following error:
/plugins/fixture_scenarios_builder/lib/scenario_builder.rb:8:in
`scenario': undefined method `scenario' for main (NoMethodError)
Ingo
_
This works - thanks, David!
Ingo
On Jul 27, 2007, at 7:55 PM, David Chelimsky wrote:
> Leave off -rails. Just type "autotest"
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Hi all,
I am trying to use autotest with rspec and rais, and it seems to work
fine when I run autotest -rails initially, but then autotest fails to
recognize file changes and run tests continuously. Did I skip a step?
Here is my setup:
rails v1.2.3
rspec plugin v1.0.5
rspec_on_rails plugin
11 matches
Mail list logo