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
9fb5b742
Commit
9fb5b742
authored
Oct 21, 2011
by
Prem Sichanugrist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update wording on rake task feature file
parent
2583a27d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
features/rake_tasks.feature
+1
-1
features/step_definitions/rails_steps.rb
+1
-1
No files found.
features/rake_tasks.feature
View file @
9fb5b742
...
...
@@ -5,7 +5,7 @@ Feature: Rake tasks
And I run a rails generator to generate a "User" scaffold with "name
:
string"
And
I run a paperclip generator to add a paperclip
"attachment"
to the
"User"
model
And
I run a migration
And
I
prepare my old Rails application for rake task
And
I
add the paperclip rake task to a Rails 2.3 application
And I add this snippet to the User model
:
"""
has_attached_file :attachment, :path => ":rails_root/public/system/:attachment/:style/:filename"
...
...
features/step_definitions/rails_steps.rb
View file @
9fb5b742
...
...
@@ -113,7 +113,7 @@ Given /^I update my application to use Bundler$/ do
end
end
Given
/^I
prepare my old Rails application for rake task
$/
do
Given
/^I
add the paperclip rake task to a Rails 2.3 application
$/
do
if
framework_version?
(
"2.3"
)
require
'fileutils'
source
=
File
.
expand_path
(
'lib/tasks/paperclip.rake'
)
...
...
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