<NME> spec_helper.rb
<BEF> # encoding: utf-8

# NOTE: we don't have to require spec, webrat,
# rack/test or whatever, it's bundler job to do it

# load test environment include dependencies
RACK_ENV = "test"
require_relative "../init.rb"

require "spec"
require "webrat"
require "rack/test"

# load config.ru
require "rango/utils"
Rango::Utils.load_rackup

# webrat
Webrat.configure do |config|
  config.mode = :rack
end

# rspec
Spec::Runner.configure do |config|
  config.include Rack::Test::Methods
  config.include Webrat::Matchers

  # automigrate database
  # TODO: with this setup it runs after custom block, so

  # for rack-test
  def app
    Project.router
  end
end
  def app
    Rango::Router.app
  end
end

<MSG> Big refactoring, removed Project constant

<DFF> @@ -30,6 +30,6 @@ Spec::Runner.configure do |config|
 
   # for rack-test
   def app
-    Project.router
+    Rango::Router.app
   end
 end

Big refactoring, removed Project constant