similar to: CC.rb and RSpec

Displaying 20 results from an estimated 4000 matches similar to: "CC.rb and RSpec"

2008 Jan 08
2
Problems with rspec 1.1 required inside rake tasks
This is interesting. The default rspec rake tasks generated by Hoe give you an rspec.rake file that looks like: > begin > require ''spec'' > rescue LoadError > require ''rubygems'' > require ''spec'' > end > So far so good. When you invoke rake to do something, say check_manifest > rake check_manifest > You
2006 Dec 12
3
rpec 0.7.4/ rails 1.2rc1 troubles
I believe that I have followed these directions exactly: http:// rspec.rubyforge.org/documentation/rails/install.html My new spec tests work, but my old Test::Unit test don''t produce any output. The only clue I have anything is happening at all are these messages in log/test.log: Spec::Rails::HelperEvalContextController: missing default helper path
2007 Nov 26
0
rSpec (rev 2996), Rails (rev 8214): TextMate bundle problems
Hey guys, I''m trying to get rSpec (rev 2996) working with Rails 2 (rev 8214). Running the tests from the command line works, no problem. I installed the RSpec.tmbundle (also rev 2996), and would like to see the HTML test results in TextMate. When I run the "Run examples in selected files/directories" command in TextMate, I get the following dump:
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.
2006 Dec 27
2
calling a MiddleMan from inside a MiddleMan
Is it possible to call a worker from inside a worker? Right now, if I try, I get a recycled object error.
2006 Dec 13
1
rspec with rails controllers in subdirectories
Does the rspec rails plugin support controllers in subdirectories under app/controller?
2008 May 10
4
Problems running RSpec from w/in TextMate
Hello everyone, I''m new to RSpec, and pretty much Ruby in general. I am trying to run RSpec from within TextMate to get the nice-looking GUI that lists my specs and whatnot. It runs fine from the command line, but when I run it from TextMate, I get the following error (I am working with a Rails application): RubyMate r8136 running Ruby r1.8.6 (/usr/local/bin/ruby) >>>
2007 Sep 08
11
changes to TextMate bundle
Hi all, I got some help from James Edward Gray II on the RSpec TextMate bundle. For those of you who don''t know James, he runs the Ruby Quiz and also maintains the official TM bundle. Per a couple of patches from him and some advice that I acted on, many of the shortcuts have changed. The bad news is you''ll have to learn new shortcuts. The good news is that the new shortcuts
2008 Sep 19
0
metric_fu for use in cc.rb
Hi all, I looked on the mailing list for metric_fu, but didn''t find it -- so at the risk of being redundant, it looks really useful. "Metric_fu is a set of rake tasks that make it easy to generate metrics reports. It uses Saikuro <http://saikuro.rubyforge.org/>, Flog<http://ruby.sadi.st/Flog.html>, Rcov <http://eigenclass.org/hiki.rb?rcov>,
2007 Dec 09
1
[rspec-devel] rspec_on_rails (trunk - r3070) works with Rails 2.0.1
I figured most of it out. The Spec::Rails stuff was something in the code which has been fixed by revision 3099. The test methods partially make sense. Since the test/unit code has been integrated, methods with test in them are automatically turned into specs. However, the test? method is in a lib file that isn''t directly loaded into the specs. It is a convenience method: def
2008 Jan 18
2
Rspec problem in testing RoR application
Hello. I install gems rspec and rspec_on_rails I have this Error when try to run Rspec tests on my RoR application: /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper (NameError) And I follow recipes wich are placed in
2007 Nov 10
0
Git Plugin for CC.rb
Hi all, I saw a mention of a 3rd party git plugin in a previous post, but have been unable to locate it anywhere. Anybody know where I can find it? TIA, Christian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20071110/48fda7ab/attachment.html
2007 Mar 20
0
CC.rb and CCTray
I was using CCTray beautifully! with CC.rb 0.5.0. Since upgrading to 0.1.0, I get a lot of strange behavior. For starters, it seems as though a failure is indicated when the build first starts. Also, I can?t click on the project in the CCTray list anymore. It barfs with a ?System.InvalidOperationException Cannot start process because a file has not been provided.? Anybody have any ideas?
2007 Nov 07
1
LoadError when upgraded to latest rspec trunk
I just moved my rspec and rspec_on_rails plugin from r2691 to r2822. After that I upgraded both of them I regenerated all things rspec with the rspec generator. I was running on rails r2691 but upgraded to the latest at r2822 when I was getting errors but that still didn''t help things. I get the following when I try to run a spec with either rake spec or ./script/spec:
2008 May 27
4
Failing rspec story not causing a CruiseControl.rb build to fail?
We''ve just added rspec stories to our CruiseControl.rb build. When there''s a failing scenario we see the failure in the log output, but it doesn''t cause the CruiseControl build to fail. We''ve also just upgraded to the latest rspec version, 1.1.4, which fixes rspec bug 228, but the CC.rb build is still passing. Has anyone got failing rspec stories making
2008 Jan 15
0
Problem with ruby-debug and rspec
So i''ve been getting this same thing with both rspec 1.1.1 and now with 1.1.2. ruby-debug works with i''m in the application code, but not when i''m in the ''spec'', or spec helper methods i''m loading. Basically any command which should normally work like p, or pp, gets passed through to a method_missing. I''m kind of stumped on this
2007 Jan 04
8
Common setup code and naming specifications
Hello! I have a lot of contexts for testing Rails controllers, that must do something like ''session[:logged_in] = true'' in their setup. How can this be refactored? In unit tests I would simply create a LoggedInControllerTest base class, that all my functional tests would derive from. And another small question: In my controller specifications I often have to decide whether to
2007 Apr 12
1
rspec on rails: undefined method ''controller_name''
Im trying to write a controller spec, but when I run it I get an error like the one below. I found Bug6707 (http://rubyforge.org/pipermail/rspec-devel/2007-March/002147.html ), but I get the error no matter how I run the spec ( whether I use rake or not) Any ideas? I am using 0.8.2 The Error: C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec-0.8.2/lib/spec/expectati ons/sugar.rb:14:in
2007 May 02
2
CCTray setup with remote CC.rb
HI All: Sorry about the test post, I posted this 2x before and never saw it on the list. I modified the CCTray instructions in the manual which say to put in http://:3333 in the "Via CruiseContro.Net Dashboard", which I''m assuming was local to the machine running CCTRay, with http://:3333 which returns a "failed to connect to server" error. On the mongrel
2007 Nov 13
2
new to rspec, error running "rake rspec" on debian/etch
I have the latest version of rspec and rails-rspec installed. I''m using the debian versions of ruby and rails. On a new project after a generate an "rspec_model" and then try to run "rake spec", I get the following error: dan at dan-server:~/projects/cw/registration$ rake spec (in /home/dan/projects/cw/registration)