Commit d02b2fcd by Jon Yurek

Revert "Fast to slowly spec"

This reverts commit ae3ec237.
parent 3601cc6b
...@@ -48,5 +48,4 @@ Gem::Specification.new do |s| ...@@ -48,5 +48,4 @@ Gem::Specification.new do |s|
s.add_development_dependency('actionmailer', '>= 3.0.0') s.add_development_dependency('actionmailer', '>= 3.0.0')
s.add_development_dependency('generator_spec') s.add_development_dependency('generator_spec')
s.add_development_dependency('timecop') s.add_development_dependency('timecop')
s.add_development_dependency('activerecord-import')
end end
...@@ -7,8 +7,9 @@ describe 'Paperclip' do ...@@ -7,8 +7,9 @@ describe 'Paperclip' do
before do before do
rebuild_model rebuild_model
@file = File.new(fixture_file("5k.png"), 'rb') @file = File.new(fixture_file("5k.png"), 'rb')
dummys = 300.times.map { |i| Dummy.new avatar: @file } 300.times do |i|
Dummy.import dummys Dummy.create! avatar: @file
end
end end
after { @file.close } after { @file.close }
......
...@@ -7,7 +7,6 @@ require 'active_support/core_ext' ...@@ -7,7 +7,6 @@ require 'active_support/core_ext'
require 'mocha/api' require 'mocha/api'
require 'bourne' require 'bourne'
require 'ostruct' require 'ostruct'
require 'activerecord-import'
ROOT = Pathname(File.expand_path(File.join(File.dirname(__FILE__), '..'))) ROOT = Pathname(File.expand_path(File.join(File.dirname(__FILE__), '..')))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment