Permalink
Browse files

Fix the build

  • Loading branch information...
1 parent fe6573e commit 47be2f101cf133d6d1b9527b8764306d6ddcbf2c @wycats wycats committed Apr 25, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 actionpack/test/dispatch/mapper_test.rb
  2. +1 −1 railties/lib/rails/engine.rb
@@ -4,11 +4,12 @@ module ActionDispatch
module Routing
class MapperTest < ActiveSupport::TestCase
class FakeSet
- attr_reader :routes
+ attr_reader :routes, :draw_paths
alias :set :routes
def initialize
@routes = []
+ @draw_paths = []
end
def resources_path_names
@@ -517,7 +517,7 @@ def config
#
# Blog::Engine.load_seed
def load_seed
- seed_file = paths["db/seeds"].existent.first
+ seed_file = paths["db/seeds.rb"].existent.first
load(seed_file) if seed_file
end

0 comments on commit 47be2f1

Please sign in to comment.