Skip to content
This repository
Browse code

Fix the build

  • Loading branch information...
commit 47be2f101cf133d6d1b9527b8764306d6ddcbf2c 1 parent fe6573e
Yehuda Katz authored April 25, 2012
3  actionpack/test/dispatch/mapper_test.rb
@@ -4,11 +4,12 @@ module ActionDispatch
4 4
   module Routing
5 5
     class MapperTest < ActiveSupport::TestCase
6 6
       class FakeSet
7  
-        attr_reader :routes
  7
+        attr_reader :routes, :draw_paths
8 8
         alias :set :routes
9 9
 
10 10
         def initialize
11 11
           @routes = []
  12
+          @draw_paths = []
12 13
         end
13 14
 
14 15
         def resources_path_names
2  railties/lib/rails/engine.rb
@@ -517,7 +517,7 @@ def config
517 517
     #
518 518
     # Blog::Engine.load_seed
519 519
     def load_seed
520  
-      seed_file = paths["db/seeds"].existent.first
  520
+      seed_file = paths["db/seeds.rb"].existent.first
521 521
       load(seed_file) if seed_file
522 522
     end
523 523
 

0 notes on commit 47be2f1

Please sign in to comment.
Something went wrong with that request. Please try again.