Commit 7874cfdd by Jon Yurek

Tests use test/helper instead of doing everything manually

parent 94eb2916
test:
adapter: sqlite3
#dbfile: paperclip.db
database: ":memory:"
require 'rubygems'
require 'test/unit'
require 'shoulda'
require File.join(File.dirname(__FILE__), '..', 'lib', 'paperclip', 'geometry.rb')
require 'test/helper'
class GeometryTest < Test::Unit::TestCase
context "Paperclip::Geometry" do
......
require 'test/helper.rb'
require 'test/helper'
class IntegrationTest < Test::Unit::TestCase
context "Many models at once" do
......
require 'rubygems'
require 'test/unit'
require 'stringio'
require 'tempfile'
require 'shoulda'
require File.join(File.dirname(__FILE__), '..', 'lib', 'paperclip', 'iostream.rb')
require 'test/helper'
class IOStreamTest < Test::Unit::TestCase
context "IOStream" do
......
require 'test/helper.rb'
require 'test/helper'
class PaperclipTest < Test::Unit::TestCase
context "Calling Paperclip.run" do
......
require 'rubygems'
require 'test/unit'
require 'shoulda'
require 'right_aws'
require File.join(File.dirname(__FILE__), '..', 'lib', 'paperclip', 'geometry.rb')
require 'test/helper'
class StorageTest < Test::Unit::TestCase
context "Parsing S3 credentials" do
......
require 'rubygems'
require 'test/unit'
require 'shoulda'
require 'mocha'
require 'tempfile'
require File.join(File.dirname(__FILE__), '..', 'lib', 'paperclip', 'geometry.rb')
require File.join(File.dirname(__FILE__), '..', 'lib', 'paperclip', 'thumbnail.rb')
require 'test/helper'
class ThumbnailTest < Test::Unit::TestCase
......
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