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
553df792
Commit
553df792
authored
Nov 09, 2010
by
Larry Sprock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update helper require paths for Ruby 1.9.2 compatibility
parent
b255f338
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
17 additions
and
17 deletions
+17
-17
test/attachment_test.rb
+1
-1
test/command_line_test.rb
+1
-1
test/geometry_test.rb
+1
-1
test/helper.rb
+1
-1
test/integration_test.rb
+1
-1
test/interpolations_test.rb
+1
-1
test/iostream_test.rb
+1
-1
test/matchers/have_attached_file_matcher_test.rb
+1
-1
test/matchers/validate_attachment_content_type_matcher_test.rb
+1
-1
test/matchers/validate_attachment_presence_matcher_test.rb
+1
-1
test/matchers/validate_attachment_size_matcher_test.rb
+1
-1
test/paperclip_test.rb
+1
-1
test/processor_test.rb
+1
-1
test/storage_test.rb
+1
-1
test/style_test.rb
+1
-1
test/thumbnail_test.rb
+1
-1
test/upfile_test.rb
+1
-1
No files found.
test/attachment_test.rb
View file @
553df792
# encoding: utf-8
# encoding: utf-8
require
'test/helper'
require
'
./
test/helper'
class
Dummy
class
Dummy
# This is a dummy class
# This is a dummy class
...
...
test/command_line_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
class
CommandLineTest
<
Test
::
Unit
::
TestCase
class
CommandLineTest
<
Test
::
Unit
::
TestCase
def
setup
def
setup
...
...
test/geometry_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
class
GeometryTest
<
Test
::
Unit
::
TestCase
class
GeometryTest
<
Test
::
Unit
::
TestCase
context
"Paperclip::Geometry"
do
context
"Paperclip::Geometry"
do
...
...
test/helper.rb
View file @
553df792
...
@@ -53,7 +53,7 @@ $LOAD_PATH << File.join(ROOT, 'lib', 'paperclip')
...
@@ -53,7 +53,7 @@ $LOAD_PATH << File.join(ROOT, 'lib', 'paperclip')
require
File
.
join
(
ROOT
,
'lib'
,
'paperclip.rb'
)
require
File
.
join
(
ROOT
,
'lib'
,
'paperclip.rb'
)
require
'shoulda_macros/paperclip'
require
'
./
shoulda_macros/paperclip'
FIXTURES_DIR
=
File
.
join
(
File
.
dirname
(
__FILE__
),
"fixtures"
)
FIXTURES_DIR
=
File
.
join
(
File
.
dirname
(
__FILE__
),
"fixtures"
)
config
=
YAML
::
load
(
IO
.
read
(
File
.
dirname
(
__FILE__
)
+
'/database.yml'
))
config
=
YAML
::
load
(
IO
.
read
(
File
.
dirname
(
__FILE__
)
+
'/database.yml'
))
...
...
test/integration_test.rb
View file @
553df792
require
'test/helper'
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/interpolations_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
class
InterpolationsTest
<
Test
::
Unit
::
TestCase
class
InterpolationsTest
<
Test
::
Unit
::
TestCase
should
"return all methods but the infrastructure when sent #all"
do
should
"return all methods but the infrastructure when sent #all"
do
...
...
test/iostream_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
class
IOStreamTest
<
Test
::
Unit
::
TestCase
class
IOStreamTest
<
Test
::
Unit
::
TestCase
include
IOStream
include
IOStream
...
...
test/matchers/have_attached_file_matcher_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
class
HaveAttachedFileMatcherTest
<
Test
::
Unit
::
TestCase
class
HaveAttachedFileMatcherTest
<
Test
::
Unit
::
TestCase
context
"have_attached_file"
do
context
"have_attached_file"
do
...
...
test/matchers/validate_attachment_content_type_matcher_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
class
ValidateAttachmentContentTypeMatcherTest
<
Test
::
Unit
::
TestCase
class
ValidateAttachmentContentTypeMatcherTest
<
Test
::
Unit
::
TestCase
context
"validate_attachment_content_type"
do
context
"validate_attachment_content_type"
do
...
...
test/matchers/validate_attachment_presence_matcher_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
class
ValidateAttachmentPresenceMatcherTest
<
Test
::
Unit
::
TestCase
class
ValidateAttachmentPresenceMatcherTest
<
Test
::
Unit
::
TestCase
context
"validate_attachment_presence"
do
context
"validate_attachment_presence"
do
...
...
test/matchers/validate_attachment_size_matcher_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
class
ValidateAttachmentSizeMatcherTest
<
Test
::
Unit
::
TestCase
class
ValidateAttachmentSizeMatcherTest
<
Test
::
Unit
::
TestCase
context
"validate_attachment_size"
do
context
"validate_attachment_size"
do
...
...
test/paperclip_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
class
PaperclipTest
<
Test
::
Unit
::
TestCase
class
PaperclipTest
<
Test
::
Unit
::
TestCase
context
"Calling Paperclip.run"
do
context
"Calling Paperclip.run"
do
...
...
test/processor_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
class
ProcessorTest
<
Test
::
Unit
::
TestCase
class
ProcessorTest
<
Test
::
Unit
::
TestCase
should
"instantiate and call #make when sent #make to the class"
do
should
"instantiate and call #make when sent #make to the class"
do
...
...
test/storage_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
require
'aws/s3'
require
'aws/s3'
class
StorageTest
<
Test
::
Unit
::
TestCase
class
StorageTest
<
Test
::
Unit
::
TestCase
...
...
test/style_test.rb
View file @
553df792
# encoding: utf-8
# encoding: utf-8
require
'test/helper'
require
'
./
test/helper'
class
StyleTest
<
Test
::
Unit
::
TestCase
class
StyleTest
<
Test
::
Unit
::
TestCase
...
...
test/thumbnail_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
class
ThumbnailTest
<
Test
::
Unit
::
TestCase
class
ThumbnailTest
<
Test
::
Unit
::
TestCase
...
...
test/upfile_test.rb
View file @
553df792
require
'test/helper'
require
'
./
test/helper'
class
UpfileTest
<
Test
::
Unit
::
TestCase
class
UpfileTest
<
Test
::
Unit
::
TestCase
{
%w(jpg jpe jpeg)
=>
'image/jpeg'
,
{
%w(jpg jpe jpeg)
=>
'image/jpeg'
,
...
...
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