spec/orm/datamapper_spec.rb in carrierwave-0.1 vs spec/orm/datamapper_spec.rb in carrierwave-0.2.0

- old
+ new

@@ -4,13 +4,13 @@ DataMapper.setup(:default, 'sqlite3::memory:') describe CarrierWave::DataMapper do - include SanitizedFileSpecHelper - before do - uploader = Class.new(CarrierWave::Uploader) + uploader = Class.new do + include CarrierWave::Uploader + end @class = Class.new @class.class_eval do include DataMapper::Resource \ No newline at end of file