Hi. Yes, I used the following in my script:
require "rubygems"
require "watir-webdriver"
require "rspec"
require "selenium-webdriver"
require "rspec/expectations"
require "test/unit"
require "logger"
I then run from the command prompt: rspec -f TestResearch.rb > results.html
I get the following result.
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/lib/rspec/core/formatters.rb:168:in
`find_formatter': Formatter 'TestResearch.rb' unknown - maybe you meant 'documentation' o
r 'progress'?. (ArgumentError)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/lib/rspec/core/formatte
rs.rb:127:in `add'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/lib/rspec/core/configur
ation.rb:672:in `add_formatter'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/lib/rspec/core/configur
ation_options.rb:108:in `block in load_formatters_into'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/lib/rspec/core/configur
ation_options.rb:108:in `each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/lib/rspec/core/configur
ation_options.rb:108:in `load_formatters_into'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/lib/rspec/core/configur
ation_options.rb:24:in `configure'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/lib/rspec/core/runner.r
b:95:in `setup'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/lib/rspec/core/runner.r
b:84:in `run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/lib/rspec/core/runner.r
b:69:in `run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/lib/rspec/core/runner.r
b:37:in `invoke'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/exe/rspec:4:in `<top (r
equired)>'
from C:/Ruby193/bin/rspec:23:in `load'
from C:/Ruby193/bin/rspec:23:in `<main>'