Displaying 4 results from an estimated 4 matches for "previous_failures".
2007 Jun 08
5
autotest bug?
....
.....F..
1)
''LoginController routes should route create to POST /login'' FAILED
expected "/login", got "/login/create" (using ==)
./spec/controllers/login_controller_spec.rb:13:
script/spec:4:
Finished in 3.04389 seconds
80 examples, 1 failure
[["spec/previous_failures.txt", Fri Jun 08 01:13:32 -0400 2007]]
(The last line is the important one).
Is there a way to get around this via autotest? Or does this suggest
that Autotest::Rspec needs to be patched? Or should rspec use a
standard failures file?
Scott
2007 May 22
3
BDD screenscast
I posted a quick screencast demonstrating some BDD with RSpec yesterday:
http://wincent.com/a/about/wincent/weblog/archives/2007/05/
behaviourdriven.php
I''m a C/Objective-C programmer who knows a bit of Ruby, almost
nothing about Rails, and in BDD I can really only claim "new but
interested" status.
It''s not scripted, it''s totally improvised and
2008 Feb 06
1
RSpec 1.1.3 + ZenTest 3.9.1 + Rails 1.2.6 do NOT ignore folders ^vendor/*
...u/test/local_cache_test.rb
Dunno! public/images/icons/flags/bv.gif
in the output. Am I the only one?
After reading the code in rspec_on_rails/lib/autotest/rails_rspec.rb
Autotest.add_hook :initialize do |at|
%w{^config/ ^coverage/ ^db/ ^doc/ ^log/ ^public/ ^script
^vendor/rails ^vendor/plugins previous_failures.txt}.each do
|exception|
at.add_exception(exception)
end
I think the noise is not normal. Maybe I should write some specs to
verify this code is working ;-)
As David C. explained in his blog, I also have a .autotest in my HOME:
Autotest.add_hook :initialize do |at|
%w{.svn .hg .git .rhtml...
2007 Oct 22
1
installing rspec/rspec_on_rails as system wide generator (or similar)
Hi all,
What would be the best/easiest way of installing rspec as a system
wide generator so I''m not having to download it or ./script/plugin
install it every time?
Thanks,
Alastair
-----
Alastair Moore
Freelance web design, development and consultancy
t. 07983 983945
e. alastair at kozmo.co.uk
w. http://www.kozmo.co.uk
skype. alastair_kozmo