spec/spec_helper.rb in reservation-0.0.6 vs spec/spec_helper.rb in reservation-0.1.0
- old
+ new
@@ -36,20 +36,17 @@
RSpec::Core::ExampleGroup.send :include, Helper
File.delete File.dirname(__FILE__) + '/dummy/db/test.sqlite3'
ActiveRecord::Base.establish_connection
ActiveRecord::Base.connection
-ActiveRecord::Base.silence do
- ActiveRecord::Migration.verbose = false
- load(File.dirname(__FILE__) + '/dummy/db/schema.rb')
-end
+ActiveRecord::Migration.verbose = false
+load(File.dirname(__FILE__) + '/dummy/db/schema.rb')
class Time
def pretty
self.strftime("%Y%m%dT%H%M")
end
def prettyd
self.strftime("%a,%Y%m%dT%H%M")
end
end
-