Rakefile in policy-1.0.4 vs Rakefile in policy-1.0.5
- old
+ new
@@ -8,10 +8,15 @@
# Loads bundler tasks
Bundler::GemHelper.install_tasks
# Loads the Hexx::Suit and its tasks
-require "hexx-suit"
-Hexx::Suit.install_tasks
+begin
+ require "hexx-suit"
+ Hexx::Suit.install_tasks
+rescue LoadError
+ require "hexx-rspec"
+ Hexx::RSpec.install_tasks
+end
# Sets the Hexx::RSpec :test task to default
task default: :test