spec/spec_helper.rb in cancannible-0.0.2 vs spec/spec_helper.rb in cancannible-1.0.0
- old
+ new
@@ -4,10 +4,10 @@
require 'active_record'
require 'sqlite3'
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
-Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
+Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].sort.each {|f| require f}
RSpec.configure do |config|
config.before do
Cancannible.reset!
run_migrations
\ No newline at end of file