Make specs run faster
$ rspec spec/paperclip/integration_spec.rb --profile 1 Testing against version 4.1.7 .................................. Finished in 15.19 seconds (files took 0.60155 seconds to load) 34 examples, 0 failures Top 1 slowest examples (9.54 seconds, 62.8% of total time): Paperclip Many models at once does not exceed the open file limit 9.54 seconds ./spec/paperclip/integration_spec.rb:18 to $ rspec spec/paperclip/integration_spec.rb --profile 1 Testing against version 4.1.7 .................................. Finished in 10.95 seconds (files took 0.59585 seconds to load) 34 examples, 0 failures Top 1 slowest examples (5.33 seconds, 48.7% of total time): Paperclip Many models at once does not exceed the open file limit 5.33 seconds ./spec/paperclip/integration_spec.rb:18 Updates gemfiles to Ruby 2 hash syntax. [closes #1700]
Showing
... | @@ -8,6 +8,7 @@ gem 'pry' | ... | @@ -8,6 +8,7 @@ gem 'pry' |
# Hinting at development dependencies | # Hinting at development dependencies | ||
# Prevents bundler from taking a long-time to resolve | # Prevents bundler from taking a long-time to resolve | ||
group :development, :test do | group :development, :test do | ||
gem 'activerecord-import' | |||
gem 'mime-types', '~> 1.16' | gem 'mime-types', '~> 1.16' | ||
gem 'builder' | gem 'builder' | ||
gem 'rubocop', require: false | gem 'rubocop', require: false | ||
... | ... |
Please
register
or
sign in
to comment