[rspec-devel] merging rbehave into rspec

Dan North dan at tastapod.com
Mon Aug 6 18:43:17 EDT 2007


Hi folks.

The merge is a bit more involved than I thought, mostly due to my poor 
understanding of rspec mocks, so I've created a branch at 
http://rspec.rubyforge.org/svn/branches/rbehave-import if anyone wants 
to monitor progress or get involved.

Quick update: all classes and modules in the RBehave namespace have been 
moved into Spec::Story verbatim (along with their examples of course). 
This means that, for instance, there are currently two PendingException 
classes - rbehave's and rspec's.

I still have 2 examples failing (same problem in two places) that seem 
to be about how I'm using rspec's mocking framework. If anyone can spot 
the deliberate error I'd be very grateful. The line is:

    Runner.stub!(:dry_run).and_return(true)

which is giving me the error:

    can't convert Spec::Story::Runner::Options into Hash

Once these are working, the next step is to ensure the rcov coverage is 
up to 100% and get the pre-commit rake target passing.

Cheers,
Dan


Scott Taylor wrote:
> On Aug 2, 2007, at 11:00 PM, David Chelimsky wrote:
>
>   
>> On 8/2/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
>>     
>>> There seems to be quite a few of us who want to help.  What is the
>>> state of this project?  Is this being worked on in the Rbehave
>>> repos?  Maybe the RSpec admins could create a branch in the rspec
>>> repos to facilitate this merging.
>>>       
>> Thanks to all for your interest. I need to talk to Aslak and Dan about
>> how we're going to do this, so please hang tight.
>>     
>
> Thanks David.  I guess I'm still a little unsure whether the whole  
> code base will be merged in to RSpec, or whether it will stay  
> separate but the World modules will get mixed into RSpec somehow or  
> another.
>
> I guess we will wait a few days to hear the news.
>
> Best,
>
> Scott
>
>   
>> Cheers,
>> David
>> _______________________________________________
>> rspec-devel mailing list
>> rspec-devel at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-devel
>>     
>
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20070806/9cc0f088/attachment.html 


More information about the rspec-devel mailing list