spec/spec_helper.rb in applix-0.4.13 vs spec/spec_helper.rb in applix-0.4.14
- old
+ new
@@ -2,10 +2,14 @@
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
#require 'rspec/mocks'
require 'applix'
require 'applix/oattr'
-begin; require 'byebug'; rescue LoadError; puts 'no byebug on java ;-)'; end
+begin
+ require 'byebug'
+rescue LoadError
+ puts " !! no byebug on #{RUBY_PLATFORM}(#{RUBY_VERSION}) ;-)"
+end
RSpec.configure do |config|
config.before :each do
end