discourse/vendor/gems/discourse_plugin/spec/spec_helper.rb

19 lines
223 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
require 'rubygems'
require 'rails'
ENV["RAILS_ENV"] ||= 'test'
RSpec.configure do |config|
config.mock_framework = :mocha
config.color_enabled = true
2013-02-25 11:42:20 -05:00
2013-02-05 14:16:51 -05:00
config.before(:each) do
DiscourseEvent.clear
end
end