aasm/spec/spec_helpers/active_record.rb

9 lines
242 B
Ruby

# encoding: utf-8
begin
require 'active_record'
puts "active_record gem found, running ActiveRecord specs \e[32m#{'✔'}\e[0m"
rescue LoadError
puts "active_record gem not found, not running ActiveRecord specs \e[31m#{'✖'}\e[0m"
end