]> git.wincent.com - wikitext.git/commitdiff
Remove some dead code
authorWincent Colaiuta <win@wincent.com>
Sun, 15 May 2011 09:41:17 +0000 (02:41 -0700)
committerWincent Colaiuta <win@wincent.com>
Sun, 15 May 2011 09:41:17 +0000 (02:41 -0700)
Signed-off-by: Wincent Colaiuta <win@wincent.com>
spec/rails_spec.rb

index edeee3dbec5f0c8a9895f6b8d3f5f345216d49f5..9616acdc9db0874030103b21bd2d410547730218 100644 (file)
@@ -95,12 +95,6 @@ module RailsSpecs
     raise "text '#{after}' not found" unless found
   end
 
-  # Rails 2 only
-  def add_text_to_initializer text, infile
-    insert text, 'Rails::Initializer.run do', infile
-  end
-
-  # Rails 3 only
   def add_text_to_routes text, infile
     insert text, 'Application.routes.draw', infile
   end