1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/spec/spec_helpers/mongoid.rb

8 lines
213 B
Ruby
Raw Normal View History

2017-02-10 06:39:28 -05:00
# encoding: utf-8
begin
require 'mongoid'
puts "mongoid gem found, running mongoid specs \e[32m#{'✔'}\e[0m"
rescue LoadError
puts "mongoid gem not found, not running mongoid specs \e[31m#{'✖'}\e[0m"
end