spec/unit/spec_helper.rb in jpmobile-0.1.1 vs spec/unit/spec_helper.rb in jpmobile-0.1.2
- old
+ new
@@ -3,7 +3,12 @@
$LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'lib')))
require 'jpmobile'
begin
require File.dirname(__FILE__)+'/../../vendor/jpmobile-ipaddresses/lib/jpmobile-ipaddresses'
rescue LoadError
- puts "[NOTICE] IP Address test requires jpmobile-ipaddresses module"
+ puts "IP Address test requires jpmobile-ipaddresses module"
+end
+begin
+ require File.dirname(__FILE__)+'/../../vendor/jpmobile-terminfo/lib/jpmobile-terminfo'
+rescue LoadError
+ puts "Terminal display information test requires jpmobile-terminfo module"
end