27 Jan
2011
27 Jan
'11
6:26 p.m.
I have a Classes/Helpers/Constants.rb module . Several classes use it, so the following is common in my code:e.g # File: Record.rb require 'Constants' include Constants class Record end I have a test for Record.rb that worked prior to to my introduction of Constants: require 'test/unit' class RecordTest < Test::Unit::TestCase etc end Since introducing the Constants module, I get 'run_suite.rb:3:in 'block': no such file to load -- Constants -- (LoadError) I need to tell XCode where to find the Constants.rb file but I don't know how. Can somebody please point me in the right direction?