spec/spec_helper.rb in zemax-0.0.0 vs spec/spec_helper.rb in zemax-0.0.1

- old
+ new

@@ -1,18 +1,9 @@ -require 'zemax' -require 'spec' -require 'spec/autorun' - -Spec::Runner.configure do |config| - # == Mock Framework - # - # RSpec uses it's own mocking framework by default. If you prefer to - # use mocha, flexmock or RR, uncomment the appropriate line: - # - # config.mock_with :mocha - # config.mock_with :flexmock - # config.mock_with :rr -end - -module ZemaxTest - -end # module ZemaxTest \ No newline at end of file +$LOAD_PATH.unshift(File.dirname(__FILE__)) +$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) +require 'zemax' +require 'spec' +require 'spec/autorun' + +Spec::Runner.configure do |config| + +end