Skip to content

Commit

Permalink
just assign the instance variables on the test
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Aug 5, 2014
1 parent ab54ec7 commit ed180ee
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions actionpack/test/dispatch/prefix_generation_test.rb
Expand Up @@ -165,16 +165,12 @@ def app
RailsApplication
end

def engine_object
@engine_object ||= EngineObject.new
end

def app_object
@app_object ||= AppObject.new
end
attr_reader :engine_object, :app_object

def setup
RailsApplication.routes.default_url_options = {}
@engine_object = EngineObject.new
@app_object = AppObject.new
end

include BlogEngine.routes.mounted_helpers
Expand Down

0 comments on commit ed180ee

Please sign in to comment.