Selenium cannot find the "spec" folder

So, I'm trying to set up my local system to help complete an existing project with an employer who uses only rails. They want me to focus mainly on testing rspec, since the project is almost functional, and I need to find out what they missed. However, I cannot get a "rake spec" to create a test folder. Be that as it may, the test folder contains several basic user tests when using Selenium (I did not write them). Here is the trace of the error:

/opt/local/lib/ruby/gems/1.8/gems/selenium-client-1.2.18/lib/selenium/rspec/spec_helper.rb:2:in 'require': no such file to load -- spec (LoadError)
from /opt/local/lib/ruby/gems/1.8/gems/selenium-client-1.2.18/lib/selenium/rspec/spec_helper.rb:2
from /Users/cliffhess/ampms/spec/integration/user_registration_name_not_blank_spec.rb:5:in 'require'
from /Users/cliffhess/ampms/spec/integration/user_registration_name_not_blank_spec.rb:5
from /opt/local/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:386:in 'load'
from /opt/local/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:386:in 'load_spec_files'
from /opt/local/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:386:in 'map'
from /opt/local/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:386:in 'load_spec_files'
from /opt/local/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/command_line.rb:18:in 'run'
from /opt/local/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb:55:in 'run_in_process'
from /opt/local/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb:46:in 'run'
from /opt/local/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb:10:in 'autorun'
from /opt/local/lib/ruby/gems/1.8/bin/rspec:19
rake aborted!

, , ( ?). 2 selenium-clients spec_helper.rb require 'spec', , , , selenium-client spec, rspec. selenium-client , , . require 'rspec', , .

Ruby 1.8.7, Rails 3.0.3 . , .

+3
1

, , , , - LoadError Selenium: no - spec


Cucumber + Webrat + Selenium guide,

-,

require "selenium/rspec/spec_helper"
require "spec/test/unit"

require 'spec_helper'

spec_helper spec

, append_after

, , , .

P.S: Selenium http://seleniumhq.org/download/ java -jar selenium-server-standalone-2.0b2.jar

+1

All Articles