Skip to content

Commit

Permalink
Fixes test with Minitest
Browse files Browse the repository at this point in the history
  • Loading branch information
burisu committed Jun 3, 2014
1 parent d5fb6e8 commit f5a64bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
@@ -1,10 +1,10 @@
# Paperclip::Document

[![Gem Version](https://badge.fury.io/rb/paperclip-document.png)](http://badge.fury.io/rb/paperclip-document)
[![Dependency Status](https://gemnasium.com/burisu/paperclip-document.png)](https://gemnasium.com/burisu/paperclip-document)
[![Quality metrics](https://codeclimate.com/github/burisu/paperclip-document.png)](https://codeclimate.com/github/burisu/paperclip-document)
[![Continuous Integration](https://api.travis-ci.org/burisu/paperclip-document.png?branch=master)](https://travis-ci.org/burisu/paperclip-document)
[![Code coverage](https://coveralls.io/repos/burisu/paperclip-document/badge.png?branch=master)](https://coveralls.io/r/burisu/paperclip-document)
[![Dependency Status](https://gemnasium.com/ekylibre/paperclip-document.png)](https://gemnasium.com/ekylibre/paperclip-document)
[![Quality metrics](https://codeclimate.com/github/ekylibre/paperclip-document.png)](https://codeclimate.com/github/ekylibre/paperclip-document)
[![Continuous Integration](https://api.travis-ci.org/ekylibre/paperclip-document.png?branch=master)](https://travis-ci.org/ekylibre/paperclip-document)
[![Code coverage](https://coveralls.io/repos/ekylibre/paperclip-document/badge.png?branch=master)](https://coveralls.io/r/ekylibre/paperclip-document)

Document processors for paperclip.

Expand Down
1 change: 1 addition & 0 deletions paperclip-document.gemspec
Expand Up @@ -25,4 +25,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "coveralls"
spec.add_development_dependency 'rails', ">= 3.2"
spec.add_development_dependency 'sqlite3'
spec.add_development_dependency 'minitest'
end
4 changes: 2 additions & 2 deletions test/helper.rb
Expand Up @@ -5,7 +5,7 @@
require 'active_record'
require 'pathname'
require 'paperclip/document'
require 'test/unit'
require 'minitest/autorun'

# Connect to sqlite
ActiveRecord::Base.establish_connection(
Expand All @@ -32,7 +32,7 @@ class Document < ActiveRecord::Base



class Paperclip::Document::TestCase < Test::Unit::TestCase
class Paperclip::Document::TestCase < MiniTest::Test

def fixtures
Pathname.new(__FILE__).dirname.join("fixtures")
Expand Down

0 comments on commit f5a64bd

Please sign in to comment.