Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paperclip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paperclip
Commits
7874cfdd
Commit
7874cfdd
authored
Nov 06, 2008
by
Jon Yurek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests use test/helper instead of doing everything manually
parent
94eb2916
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
29 deletions
+6
-29
test/database.yml
+0
-1
test/geometry_test.rb
+1
-5
test/integration_test.rb
+1
-1
test/iostream_test.rb
+1
-7
test/paperclip_test.rb
+1
-1
test/storage_test.rb
+1
-6
test/thumbnail_test.rb
+1
-8
No files found.
test/database.yml
View file @
7874cfdd
test
:
test
:
adapter
:
sqlite3
adapter
:
sqlite3
#dbfile: paperclip.db
database
:
"
:memory:"
database
:
"
:memory:"
test/geometry_test.rb
View file @
7874cfdd
require
'rubygems'
require
'test/helper'
require
'test/unit'
require
'shoulda'
require
File
.
join
(
File
.
dirname
(
__FILE__
),
'..'
,
'lib'
,
'paperclip'
,
'geometry.rb'
)
class
GeometryTest
<
Test
::
Unit
::
TestCase
class
GeometryTest
<
Test
::
Unit
::
TestCase
context
"Paperclip::Geometry"
do
context
"Paperclip::Geometry"
do
...
...
test/integration_test.rb
View file @
7874cfdd
require
'test/helper
.rb
'
require
'test/helper'
class
IntegrationTest
<
Test
::
Unit
::
TestCase
class
IntegrationTest
<
Test
::
Unit
::
TestCase
context
"Many models at once"
do
context
"Many models at once"
do
...
...
test/iostream_test.rb
View file @
7874cfdd
require
'rubygems'
require
'test/helper'
require
'test/unit'
require
'stringio'
require
'tempfile'
require
'shoulda'
require
File
.
join
(
File
.
dirname
(
__FILE__
),
'..'
,
'lib'
,
'paperclip'
,
'iostream.rb'
)
class
IOStreamTest
<
Test
::
Unit
::
TestCase
class
IOStreamTest
<
Test
::
Unit
::
TestCase
context
"IOStream"
do
context
"IOStream"
do
...
...
test/paperclip_test.rb
View file @
7874cfdd
require
'test/helper
.rb
'
require
'test/helper'
class
PaperclipTest
<
Test
::
Unit
::
TestCase
class
PaperclipTest
<
Test
::
Unit
::
TestCase
context
"Calling Paperclip.run"
do
context
"Calling Paperclip.run"
do
...
...
test/storage_test.rb
View file @
7874cfdd
require
'rubygems'
require
'test/helper'
require
'test/unit'
require
'shoulda'
require
'right_aws'
require
File
.
join
(
File
.
dirname
(
__FILE__
),
'..'
,
'lib'
,
'paperclip'
,
'geometry.rb'
)
class
StorageTest
<
Test
::
Unit
::
TestCase
class
StorageTest
<
Test
::
Unit
::
TestCase
context
"Parsing S3 credentials"
do
context
"Parsing S3 credentials"
do
...
...
test/thumbnail_test.rb
View file @
7874cfdd
require
'rubygems'
require
'test/helper'
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'
)
class
ThumbnailTest
<
Test
::
Unit
::
TestCase
class
ThumbnailTest
<
Test
::
Unit
::
TestCase
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment