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
6a817eb4
Commit
6a817eb4
authored
Mar 13, 2015
by
Rocco Galluzzo
Committed by
Jon Yurek
Mar 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless MockModel class
parent
ed2f1929
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
3 deletions
+1
-3
spec/paperclip/url_generator_spec.rb
+1
-1
spec/support/mock_model.rb
+0
-2
No files found.
spec/paperclip/url_generator_spec.rb
View file @
6a817eb4
...
...
@@ -43,7 +43,7 @@ describe Paperclip::UrlGenerator do
end
it
"executes the method named by the symbol as the default URL when no file is assigned"
do
mock_model
=
Mock
Model
.
new
mock_model
=
Fake
Model
.
new
mock_attachment
=
MockAttachment
.
new
(
model:
mock_model
)
mock_interpolator
=
MockInterpolator
.
new
default_url
=
:to_s
...
...
spec/support/mock_model.rb
deleted
100644 → 0
View file @
ed2f1929
class
MockModel
end
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