Permalink
Browse files

Fix a failing test due to the absence of the ::Rails object.

  • Loading branch information...
1 parent b979193 commit eefdfeab94575259e7dab407bd7782564f640d73 @jwinky committed May 25, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 spec/private/selenium/application_servers/rails_spec.rb
@@ -11,6 +11,13 @@
# require "rubygems"; require "ruby-debug"; Debugger.start; debugger
@server.stub!(:system)
@server.stub!(:at_exit)
+
+
+ class Rails
+ def self.root
+ RAILS_ROOT
+ end
+ end
end
describe "boot" do

0 comments on commit eefdfea

Please sign in to comment.