ironcamel / Dancer-Plugin-DBIC

DBIx::Class Plugin for Dancer
1 stars 13 forks source link

compatibility with Dancer 2 #7

Closed yanick closed 11 years ago

yanick commented 11 years ago

Here's the amazingly extensive patch required to make all tests pass under Dancer2. :-)

ironcamel commented 11 years ago

Thanks for the patch @yanick, but I am having trouble getting the tests to pass on your branch. I checked out your branch and ran the tests like so:

prove -l -I../Dancer-1.9999_02/lib

It produces the following error:

t/04-testapp.t .. Can't locate object method "dancer_app" via package "apps" (perhaps you forgot to load "apps"?) at /home/naveed/projects/Dancer-Plugin-DBIC/../Dancer-1.9999_02/lib/Dancer/Test.pm line 285.
BEGIN failed--compilation aborted at t/04-testapp.t line 8.

Do you have any ideas? What version of Dancer are you running against?

ironcamel commented 11 years ago

Oops, I think I was running it against the wrong version of Dancer. Running against https://github.com/PerlDancer/Dancer2 works.