search for: loadby

Displaying 9 results from an estimated 9 matches for "loadby".

2008 Mar 28
1
How to loadby by alphabetical order, not mtime
...time. According to the documentation, it seems like the default is by alphabetical order, I just can not get that to work. In the unit tests with the rspec package, seems like only mtime was tested. Can anyone tell me how to run specs by name order ? spec spec/* This will printout -L, --loadby STRATEGY Specify the strategy by which spec files should be loaded. STRATEGY can currently only be ''mtime'' (File modification time) By default, spec files are loaded in alphabetical order if --loa...
2008 Mar 31
0
Is loadby file name order not implemented or not working? - want to run tests in file name order, not mtime order
...d time. According to the documentation, it seems like the default is by alphabetical order, I just can not get that to work. In the unit tests with the rspec package, seems like only mtime was tested. Can anyone tell me how to run specs by name order ? spec spec/* This will printout -L, --loadby STRATEGY Specify the strategy by which spec files should be loaded. STRATEGY can currently only be ''mtime'' (File modification time) By default, spec files are loaded in alphabetical order if --loadb...
2007 Aug 18
6
RSpec: "--color" not working in spec.opts when combined with "--drb"
Windows XP SP 2 ruby 1.8.5 gems: rails 1.2.3 rake 0.7.3 win32console 1.0.8 plugins: rspec 1.0.8 rspec_rails 1.0.8 spec.opts: --colour --format progress --loadby mtime --reverse --drb When I run "rake spec" or "ruby script/spec spec --color" this is the output: D:\dev\project>rake spec (in D:/dev/project) ←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m ←[32m.←[0m←[32m.←[0m←[32m.←[0m Finished in 0.17...
2007 May 29
4
rspec and autotest (was: questions rspec on rails)
...Jonathan Linowes <jonathan at parkerhill.com> Date: May 29, 2007 11:47 AM Subject: Re: [rspec-users] questions rspec on rails To: rspec-users <rspec-users at rubyforge.org> Hi, I should have mentioned I already did that. Here''s my spec.opts file --colour --format progress --loadby mtime On May 29, 2007, at 7:17 AM, David Chelimsky wrote: > On 5/29/07, Jonathan Linowes <jonathan at parkerhill.com> wrote: >> Hi, rather than flooding this list with separate emails, I''ve been >> queueing up questions using rspec with rails. (an irc channel would...
2007 Aug 08
3
rspec with autotest on a windows machine
Hello all, I''m new to rSpec but after reading a couple of tutorials I''ve become enamored. Anyway, I am at minute 42 of the rSpec basics screencast ( peepcode.com) and I''m having the following error running autotest w/rSpec: D:\ruby\projects\forecaster>autotest loading autotest/rails_rspec c:\ruby\bin\ruby -rrubygems -e "require ''redgreen''"
2007 Apr 04
11
ANN: RSpec 0.9.0 beta-1 available for download.
We''d like to get some feedback on RSpec 0.9 before we start pushing out releases via Rubyforge''s gem server and update the website. We have therefore made the first beta of 0.9 available - both prepackaged and tagged in subversion (see below). RSpec 0.9 introduces a new API for expectations, which essentially means that your underscores go away (there has been other discussions
2011 Apr 23
1
rake spec fails where rake spec:(models|controllers|views) pass
I''m still trying to work into Ruby 1.9.2 and am now experiencing something that makes no sense to me. Using rspec 1.3.2 and rspec-rails 1.3.4 with rails 2.3.11 on ruby 1.9.2-p180, when I $ rake spec:models they all pass. When I $ rake spec:controllers they all pass. When I $ rake spec:views they all pass. But when I $ rake spec I get <path to
2007 May 29
12
questions rspec on rails
Hi, rather than flooding this list with separate emails, I''ve been queueing up questions using rspec with rails. (an irc channel would be nice too :) Here ya go... - Is there a way to test named routes? - Could I get an example how to test an ajax request (link_to_remote)? would that go in view? and/or in controller spec? - Can you assert which layout template is rendered in a
2008 Nov 21
57
Spec''ing via features
As I work with Rails TestUnit tests I am reconsidering how to use cucumber features. It seems to me that it might be best to have a coherent view of how to arrange my test suites before I get much further into this. Now, so far I have considered three possibilities: 1. Use features exclusively. Create a feature file for each model, one for each controller and possibly an additional one for