Displaying 4 results from an estimated 4 matches for "ermok".
Did you mean:
ermo
2008 Jan 23
13
DRYing up stories
I''m finding that I''m writing sets of very similar scenarios to check access
permissions for each of my actions. Does anyone have suggestions on how to
dry this up:
Given an existing Account
And a logged in Admin
When the user visits account/manage
Then he should get access
Given an existing Account
And a logged in Manager
When the user visits account/manage
Then he should get
2008 Jan 11
1
testing modules
I''ve developed a module to include in ActiveRecord derived classes. Can I
test the module without having to tie it to a particular class? atm, I''m
including it in my User class and writing the tests in user_spec.rb, but I
don''t like the idea of tying the module tests to those of the class.
I may extract the specs to a shared description and include that in the
specs for
2008 Jan 24
1
re -raise exceptions in stories?
I see that rails handles exceptions in stories by rendering public/500.html,
whereas in controller specs exceptions are re-raised. Is it possible to have
this same behaviour in stories so I can check the correct exceptions are
being raised?
--
View this message in context: http://www.nabble.com/re-raise-exceptions-in-stories--tp15076254p15076254.html
Sent from the rspec-users mailing list archive
2008 Apr 09
5
intermittent BJ errors
hi all
I''m running background tasks using BJ 1.0.1 (gem version). On some
requests, the tasks are executed as expected. On others, I get the
following error:
RuntimeError (no bj found in ["/u/apps/igniter/releases/20080408205801/
script", "/bin", "/usr/bin", "/sbin", "/usr/sbin"]):
when it runs, it runs fine but does anyone know what