spec/spec_helper.rb in form-0.0.0 vs spec/spec_helper.rb in form-0.0.1.alpha1
- old
+ new
@@ -1,6 +1,16 @@
require "bundler"
Bundler.setup(:default, :development)
Bundler.require
require "form"
+require "nokogiri"
+Dir["spec/support/**/*.rb"].each {|file| require file}
+
+RSpec.configure do |config|
+ config.include Form::RSpec::Matchers
+ config.include Form::RSpec::Helpers
+ config.after do
+ I18n.reload!
+ end
+end