[rspec-users] Spec'ing via features

James Byrne lists at ruby-forum.com
Tue Nov 25 16:45:18 EST 2008


Ben Mabey wrote:

> 
> The previous gem releases of cucumber required the rspec gem but as of a
> few commits ago that dependency is only there for developing cucumber.
> 
> -Ben

I see.  So, if I understand correctly, rspec is the "default" testing 
framework? But, if one wished to incorporate minitest say, then one 
would extend the cucumber world (a concept that I have only the vaguest 
conception of) in a manner similar to this?

require 'minitest/unit/assertions'
World do |o|
  o.extend(MiniTest::Unit::Assertions)
  o
end

-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list