spec/spec_helper.rb in hungryform-0.0.4 vs spec/spec_helper.rb in hungryform-0.0.6
- old
+ new
@@ -1,10 +1,12 @@
require 'bundler/setup'
Bundler.setup
-require "hungryform"
+require 'hungryform'
-Dir["./spec/support/**/*.rb"].sort.each { |f| require f }
+Dir['./spec/support/**/*.rb'].each { |f| require f }
+Dir['./spec/elements/shared_examples/**/*.rb'].each { |f| require f }
+Dir['./spec/views/shared_examples/**/*.rb'].each { |f| require f }
RSpec.configure do |config|
config.order = :random
end