[rspec-users] rake spec:rcov failing

2008-04-30 Thread Steve Downey
Trying to run the 'spec:rcov' task and failing with error below. I saw a post from last year with a different REXML error but it was a FixNum issue. Any help appreciated. S OS X Ruby 1.8.6 Rails 2.02 RSpec-1.1.3 (build 20080131122909) REXML 3.1.6 = 876 examples, 0 failures, 87 pending /opt

[rspec-users] autotest / rspec not failing tests

2008-04-30 Thread John Perkins
Hi all, Bit of a noob problem. I'm attempting to get autotest / rspec running on my OSX 1.5 machine. Everything is the latest version. My test looks like: require 'test/unit' class TestString < Test::Unit::TestCase def test_downcase assert_equal("abcd", "ABCD".downcase) end def te

Re: [rspec-users] ANN: RSpactor 0.9.10 (aka. beta)

2008-04-30 Thread rubyphunk
On 30 Apr., 15:54, Ben Mabey <[EMAIL PROTECTED]> wrote: > This is great.  I have been using it since Monday and I am loving it.   > Is there a mailing list setup just for RSpactor? Since shortly :) http://groups.google.com/group/rspactor - andreas ___ r

Re: [rspec-users] ANN: RSpactor 0.9.10 (aka. beta)

2008-04-30 Thread rubyphunk
Hi. On 30 Apr., 14:49, Glenn Ford <[EMAIL PROTECTED]> wrote: > Works for me!  However I have a feature request.  Currently I exclude   > certain files like so: > Autotest.add_hook :initialize do |at| >    %w{this_kind that_kind .git vendor .blah}.each {|exception|   > at.add_exception(exception)}

Re: [rspec-users] another noob question about stubs

2008-04-30 Thread Patrick Aljord
> You'd need to paste more of your spec and controller action that you're > stubbing for anyone to be of further help. > I think I posted it on my first post, here it is: def open_id_authentication(openid_url) authenticate_with_open_id(openid_url, :required => [:nickname, :email], :optional

Re: [rspec-users] BDD/Rails/Shoulda

2008-04-30 Thread Ashley Moran
On 28 Apr 2008, at 07:17, David Chelimsky wrote: Also, this approach increases the level of granularity from individual messages to complete statements. For example, let's say I have this line commented: # do_something if this_condition and that_condition If this_condition and that_condit

Re: [rspec-users] ANN: RSpactor 0.9.10 (aka. beta)

2008-04-30 Thread Ben Mabey
rubyphunk wrote: Hey all. I've just release a first preview/beta of the upcoming RSpactor.app; a spec runner for Mac OS X Leopard. This is just some kind of test version and I'm looking for people who love to sit on the edge :) I need some help to find bugs and polish the interface/interaction.

Re: [rspec-users] another noob question about stubs

2008-04-30 Thread Bryan Ray
If you used Matt's code below, then successful? is most likely referring to a method after your open_id_authentication method. When you stub! that method you're effectively telling rspec to skip over it and return what I tell you instead. You'd need to paste more of your spec and controller

Re: [rspec-users] ANN: RSpactor 0.9.10 (aka. beta)

2008-04-30 Thread Glenn Ford
Works for me! However I have a feature request. Currently I exclude certain files like so: Autotest.add_hook :initialize do |at| %w{this_kind that_kind .git vendor .blah}.each {|exception| at.add_exception(exception)} end Will there be a way to do something like this with RSpactor? I li