Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing to run 'ruby test/paths_test.rb'

  • Loading branch information...
commit 586fc01ee0aa0c575e716be1adfb3eafbc400449 1 parent 1a07a10
@tapajos tapajos authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 test/test_helper.rb
View
7 test/test_helper.rb
@@ -3,17 +3,20 @@
$: << File.expand_path(File.dirname(__FILE__) + "/../lib")
require 'rubygems'
-gem 'activesupport'
-require 'active_support'
+require 'action_view'
gem 'actionpack'
require 'action_view/template_handler'
require 'action_view/template_handlers/builder'
require 'action_view/template_handlers/erb'
require 'action_view/template_handlers/rjs'
+require 'action_view/helpers'
require 'action_view/base'
require 'action_view/partials'
require 'action_view/template_error'
+gem 'activesupport'
+require 'active_support'
+
require 'action_controller'
require 'selenium_on_rails/suite_renderer'

1 comment on commit 586fc01

@friscodelrosario

Even with the modified test/test_helper.rb, I am still unable to run the rakefile:

frisco-del-rosarios-macbook:selenium-on-rails friscodelrosario$ rake test --trace
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake/alt_system.rb:32: Use RbConfig instead of obsolete and deprecated Config.
(in /Users/friscodelrosario/Documents/ruby/rails/homework/vendor/plugins/selenium-on-rails)
** Invoke test (first_time)
** Execute test
/Users/friscodelrosario/.rvm/rubies/ruby-head/bin/ruby -I"lib:lib" "/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/paths_test.rb" "test/renderer_test.rb" "test/rselenese_test.rb" "test/selenese_test.rb" "test/selenium_controller_test.rb" "test/selenium_on_rails_config_test.rb" "test/selenium_support_test.rb" "test/setup_test.rb" "test/suite_renderer_test.rb" "test/switch_environment_controller_test.rb"
internal:lib/rubygems/custom_require:29:in require': cannot load such file -- test/test_helper (LoadError)
from <internal:lib/rubygems/custom_require>:29:in
require'
from test/paths_test.rb:1:in <top (required)>'
from /Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in
load'
from /Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in block in <main>'
from /Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in
each'
from /Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in <main>'
rake aborted!
Command failed with status (1): [/Users/friscodelrosario/.rvm/rubies/ruby-h...]
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:995:in
block in sh'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:1010:in call'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:1010:in
sh'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:1094:in sh'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:1029:in
ruby'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:1094:in ruby'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake/testtask.rb:117:in
block (2 levels) in define'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:1112:in verbose'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake/testtask.rb:102:in
block in define'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:636:in call'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:636:in
block in execute'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:631:in each'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:631:in
execute'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:597:in block in invoke_with_call_chain'
/Users/friscodelrosario/.rvm/rubies/ruby-head/lib/ruby/1.9.1/monitor.rb:201:in
mon_synchronize'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:590:in invoke_with_call_chain'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:583:in
invoke'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:2051:in invoke_task'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:2029:in
block (2 levels) in top_level'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:2029:in each'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:2029:in
block in top_level'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:2068:in standard_exception_handling'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:2023:in
top_level'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:2001:in block in run'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/lib/rake.rb:1998:in run'
/Users/friscodelrosario/.rvm/gems/ruby-head/gems/rake-0.8.7/bin/rake:31:in
'
/Users/friscodelrosario/.rvm/gems/ruby-head/bin/rake:19:in load'
/Users/friscodelrosario/.rvm/gems/ruby-head/bin/rake:19:in

'

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