spec/spec_helper.rb in service_objects-0.1.0 vs spec/spec_helper.rb in service_objects-1.0.0

- old
+ new

@@ -1,10 +1,12 @@ # encoding: utf-8 -# Loads the RSpec test suit. -require "hexx-rspec" +begin + require "hexx-suit" + Hexx::Suit.load_metrics_for(self) +rescue LoadError + require "hexx-rspec" + Hexx::RSpec.load_metrics_for(self) +end -# Loads runtime metrics in the current scope -Hexx::RSpec.load_metrics_for(self) - -# Loads the code of the module. +# Loads the code under test require "service_objects"