test/router_spec.rb in trellis-0.0.6 vs test/router_spec.rb in trellis-0.0.7
- old
+ new
@@ -1,6 +1,8 @@
require File.dirname(__FILE__) + '/spec_helper.rb'
+require_fixtures 'application_spec_applications'
+
describe Trellis::Router, " when constructed" do
it "with a page parameter should route to that page " do
@router = Trellis::Router.new(:page => TestApp::Home)
@router.route().destination.should == TestApp::Home