search for: rails_spec

Displaying 7 results from an estimated 7 matches for "rails_spec".

Did you mean: rails_rspec
2006 Sep 06
3
DRb error when using rails_spec on OS X
Hi, all- I started playing with RSpec in a new Rails app. I''ve installed the plugin and bootstrapped it, and run ''script/rails_spec_runner'' (not rails_spec_server as the website currently reads, btw) in a separate shell, then in another shell I run ''script/rails_spec'' and get the following: /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `getaddrinfo'': getaddrinfo: No address associated with noden...
2006 Oct 20
0
slow rails_spec
My rails_spec runs are taking around 75 seconds. I''m on REL_0_6_4 with edge rails. This is a fresh application I just started this morning?I''ve got four specs that take less than a second to run via rake. Any ideas why it''s so slow?
2006 Dec 25
1
Issues with 0.7.5
I installed 0.7.5 and the corresponding Rails plugin. Now it seems that the rake command is: rake spec:autotest I immediately ran into several problems: 1. rspec_autotest.rb line 30 has curly quotes and makes Ruby choke 2. Same line, rails_spec is spelled solid, when it should have the underscore But fixing these didn''t get me back going. Now I have to have a rails_spec_server running in one console window (is this recommended practice?) and rake spec:autotest gives me: (druby://localhost:8989) /opt/local/lib/ruby/gems/1....
2008 Jan 31
4
RSpec-1.1.3
RSpec-1.1.3 has been released. If you''re using RSpec and autotest, you''ll have to upgrade to RSpec-1.1.3 and ZenTest-3.9.0 at the same time. == Version 1.1.3 Maintenance release. * Tightened up exceptions list in autotest/rails_spec. Closes #264. * Applied patch from Ryan Davis for ZenTest-3.9.0 compatibility * Applied patch from Kero to add step_upcoming to story listeners. Closes #253. * Fixed bug where the wrong named error was not always caught by "should raise_error" * Applied patch from Luis Lavena: No coloured...
2006 Dec 21
1
heres how to get color output in rspec_autotest with rspec 0.7.5
...in zentest redgreen, but that is not used any more) To use directly, it is very simple. In rspec_autotest/lib/ rspec_autotest.rb, add a -c to the spec_command in the initializer function: @spec_command = "spec -c --diff unified" This won''t help however if you want to use rails_spec_server. To do that I patched rspec_0.7.5 to add an option to force the adding of colour codes (I did it this way because I assumed the check for output==Kernel was important for some other situation and I didn''t want to just throw it away): diff -upr rspec-0.7.5/lib/spec/runner/fo...
2006 Dec 21
7
rspec_autotest no longer re-runs tests with rspec 0.7.5
Has anyone else encountered this problem? What I mean is, rspec_autotest runs all specs, then waits. When you change a spec, it reruns that spec. However, if that spec now passes, it should run the whole suite again, so you can see the next one to work on. It no longer does this. This renders it somewhat useless. Does anyone have autotest working with rspec 0.7.5, or does anyone have any
2006 Oct 15
0
DRb delays using rails_spec_server?
I''ve been successfully using rails_spec_server for some time. Somehow, in the process of deleting and recreating my rspec directory a few times for SVN (or, less believably, in the process of building SVN 1.4.0 and its dependencies), something got hosed. Now, script/rails_spec takes 5-10 seconds to get past DRb.start_server. This...