discourse/vendor/gems/discourse_plugin/spec/spec_helper.rb
2013-02-26 07:31:35 +03:00

18 lines
223 B
Ruby

require 'rubygems'
require 'rails'
ENV["RAILS_ENV"] ||= 'test'
RSpec.configure do |config|
config.mock_framework = :mocha
config.color_enabled = true
config.before(:each) do
DiscourseEvent.clear
end
end