spec/spec_helper.rb in can_be-0.2.1 vs spec/spec_helper.rb in can_be-0.3.0
- old
+ new
@@ -10,9 +10,15 @@
ActiveRecord::Base.send(:include, CanBe::ModelExtensions)
# now that we have the database configured, we can create the models and
# migrate the database
require 'support/models'
+require 'support/can_be_shared_examples'
+require 'support/can_be_history_shared_examples'
+require 'support/can_be_detail_shared_examples'
+require 'support/can_be_detail_history_shared_examples'
+
+require 'can_be/rspec/matchers'
RSpec.configure do |config|
config.include ModelMacros
config.before(:suite) do