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
d336c4a1
Commit
d336c4a1
authored
Aug 24, 2011
by
Jon Yurek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rakes green
parent
6c912c4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
test/fog_test.rb
+2
-2
test/helper.rb
+1
-1
No files found.
test/fog_test.rb
View file @
d336c4a1
...
@@ -21,8 +21,8 @@ class FogTest < Test::Unit::TestCase
...
@@ -21,8 +21,8 @@ class FogTest < Test::Unit::TestCase
end
end
should
"be able to interpolate the path without blowing up"
do
should
"be able to interpolate the path without blowing up"
do
puts
@dummy
.
avatar
.
instance_variable_get
(
"@path"
)
puts
@dummy
.
avatar
.
instance_variable_get
(
"@path"
)
assert_equal
File
.
join
(
File
.
dirname
(
File
.
expand_path
(
__FILE__
)),
assert_equal
File
.
expand_path
(
File
.
join
(
File
.
dirname
(
__FILE__
),
"../public/avatars/5k.png"
)),
"../public/avatars/5k.png"
),
@dummy
.
avatar
.
path
@dummy
.
avatar
.
path
end
end
end
end
...
...
test/helper.rb
View file @
d336c4a1
...
@@ -20,7 +20,7 @@ rescue LoadError => e
...
@@ -20,7 +20,7 @@ rescue LoadError => e
puts
"debugger disabled"
puts
"debugger disabled"
end
end
ROOT
=
File
.
join
(
File
.
dirname
(
__FILE__
),
'..'
)
ROOT
=
File
.
expand_path
(
File
.
join
(
File
.
dirname
(
__FILE__
),
'..'
)
)
def
silence_warnings
def
silence_warnings
old_verbose
,
$VERBOSE
=
$VERBOSE
,
nil
old_verbose
,
$VERBOSE
=
$VERBOSE
,
nil
...
...
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