Hi,
I am trying run the attached test which I found on the ‘minitest’
website: http://bfts.rubyforge.org/minitest/.
However, when I run the meme_test.rb from the command-line I get the
following error message:
C:/Documents and Settings/lblake/Desktop/meme_test.rb:4:in <top (required)>': uninitialized constant Object::Meme (NameError) from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in
load’
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in
block in load_spec_files' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in
map’
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in
load_spec_files' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:18:in
run’
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in
run_in_process' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in
run’
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:11:in
`block in autorun’
I’ve installed the minitest and rspec gems, I’ve also tried running
rspec meme_test.rb from the command-line with the same result. Is there
something wrong with the code or how I am trying to execute the test?
Lb