raisinbread/li3_exercises — Issue #1: Example: create class doesn't work
Author: daschl
Created: 2012-01-11 07:17:03+00:00
State: open

Hey,

I tried it out and came to the `explainCreateClass` step. It looks like there is something wrong - it requires you to add the `Blog` class under the app namespace but checks if the class exists under the `li3_exercise` namespace.

Compare:

require_once(LITHIUM_APP_PATH . '/extensions/exercises/Blog.php');
$classExists = class_exists('\li3_exercises\extensions\exercises\Blog');
$this->assertTrue($classExists, "I can't find that class. Make sure it's got the right namespace (li3_exercises\extensions\exercises)!");

So it will fail every time!