[rspec-users] fixture_scenarios problem

Pelle Braendgaard pelle at stakeventures.com
Mon Jan 26 02:41:57 EST 2009


It was this change included in rspec 1.1.12 that caused the problem:
http://rspec.lighthouseapp.com/projects/5645-rspec/tickets/620-fixture_path-moved-from-testunittestcase-to-activesupporttestcase

Basically rspec extends ActiveSupport::TestCase instead of Test::Unit:TestCase.

I have made a fix to fixture scenarios which fixes that particular
problem. I've made it available here:

http://github.com/pelle/fixture-scenarios/tree/master

All it does is change fixture scenarios to use ActiveSupport::TestCase
as well and it works for me.

P

On Sun, Jan 25, 2009 at 10:56 PM, Giuseppe Bertini <lists at ruby-forum.com> wrote:
>> Is the git tree any different than the svn one?
>> http://github.com/mojombo/fixture-scenarios/tree/master
>> Scott
>
> Hi Scott, I checked, and the two trees are actually identical.
>
> It seems that while fixture_scenarios has not changed since around April
> 2007, changes in rspec since v.1.1.4 have created (or revealed) an
> incompatibility.
>
> Thanks in advance for any advice on this problem.
>
> Giuseppe
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>



-- 
http://agree2.com - Reach Agreement!
http://extraeagle.com - Solutions for the electronic Extra Legal world
http://stakeventures.com - Bootstrapping blog


More information about the rspec-users mailing list