diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/alaveteli_file_types.rb | 2 | ||||
-rw-r--r-- | lib/tasks/rspec.rake | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/alaveteli_file_types.rb b/lib/alaveteli_file_types.rb index 076f8ffe8..e89bc0c78 100644 --- a/lib/alaveteli_file_types.rb +++ b/lib/alaveteli_file_types.rb @@ -1,5 +1,3 @@ -require 'mahoro' - class AlaveteliFileTypes # To add an image, create a file with appropriate name corresponding to the # mime type in public/images e.g. icon_image_tiff_large.png diff --git a/lib/tasks/rspec.rake b/lib/tasks/rspec.rake index 4024a6a6d..c54d981e2 100644 --- a/lib/tasks/rspec.rake +++ b/lib/tasks/rspec.rake @@ -1,4 +1,3 @@ -gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f >= 1.9 rspec_gem_dir = nil Dir["#{RAILS_ROOT}/vendor/gems/*"].each do |subdir| rspec_gem_dir = subdir if subdir.gsub("#{RAILS_ROOT}/vendor/gems/","") =~ /^(\w+-)?rspec-(\d+)/ && File.exist?("#{subdir}/lib/spec/rake/spectask.rb") |