spec/spec_helper.rb in bulldog-0.1.1 vs spec/spec_helper.rb in bulldog-0.2.0
- old
+ new
@@ -14,14 +14,14 @@
ROOT = File.dirname( File.dirname(__FILE__) )
require 'helpers/time_travel'
require 'helpers/temporary_models'
require 'helpers/temporary_values'
-require 'helpers/temporary_directory'
-require 'helpers/test_upload_files'
+require 'helpers/files'
require 'helpers/image_creation'
require 'matchers/file_operations'
+require 'macros/attachment/has_dimensions_spec'
class Time
#
# Return a new Time object with subsecond components dropped.
#
@@ -66,11 +66,10 @@
Spec::Runner.configure do |config|
config.mock_with :mocha
config.include TimeTravel
config.include TemporaryModels
config.include TemporaryValues
- config.include TemporaryDirectory
- config.include TestUploadFiles
+ config.include Files
config.include ImageCreation
config.include Matchers
config.include SpecHelper
end