Skip to content

Commit

Permalink
Fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
wycats committed Apr 25, 2012
1 parent fe6573e commit 47be2f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion actionpack/test/dispatch/mapper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion railties/lib/rails/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 47be2f1

Please sign in to comment.