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
16a926ef
Commit
16a926ef
authored
Aug 16, 2010
by
Jon Yurek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Logger for ActiveSupport::BufferedLogger
parent
32b9a28c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
+1
-2
test/helper.rb
+1
-1
test/integration_test.rb
+0
-1
No files found.
test/helper.rb
View file @
16a926ef
...
...
@@ -57,7 +57,7 @@ require 'shoulda_macros/paperclip'
FIXTURES_DIR
=
File
.
join
(
File
.
dirname
(
__FILE__
),
"fixtures"
)
config
=
YAML
::
load
(
IO
.
read
(
File
.
dirname
(
__FILE__
)
+
'/database.yml'
))
ActiveRecord
::
Base
.
logger
=
Logger
.
new
(
File
.
dirname
(
__FILE__
)
+
"/debug.log"
)
ActiveRecord
::
Base
.
logger
=
ActiveSupport
::
Buffered
Logger
.
new
(
File
.
dirname
(
__FILE__
)
+
"/debug.log"
)
ActiveRecord
::
Base
.
establish_connection
(
config
[
'test'
])
def
reset_class
class_name
...
...
test/integration_test.rb
View file @
16a926ef
...
...
@@ -363,7 +363,6 @@ class IntegrationTest < Test::Unit::TestCase
:thumb
=>
[
"32x32#"
,
:gif
]
},
:storage
=>
:s3
,
:whiny_thumbnails
=>
true
,
# :s3_options => {:logger => Logger.new(StringIO.new)},
:s3_credentials
=>
File
.
new
(
File
.
join
(
File
.
dirname
(
__FILE__
),
"s3.yml"
)),
:default_style
=>
:medium
,
:bucket
=>
ENV
[
'S3_TEST_BUCKET'
],
...
...
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