Permalink
Browse files

Update wording on rake task feature file

  • Loading branch information...
1 parent 2583a27 commit 9fb5b742105096fe0ab17addb110ae9d4b3e007f @sikachu sikachu committed Oct 21, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 features/rake_tasks.feature
  2. +1 −1 features/step_definitions/rails_steps.rb
@@ -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"
@@ -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')

0 comments on commit 9fb5b74

Please sign in to comment.