Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update wording on rake task feature file

  • Loading branch information...
commit 9fb5b742105096fe0ab17addb110ae9d4b3e007f 1 parent 2583a27
@sikachu sikachu authored
View
2  features/rake_tasks.feature
@@ -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"
View
2  features/step_definitions/rails_steps.rb
@@ -113,7 +113,7 @@
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')
Please sign in to comment.
Something went wrong with that request. Please try again.