Skip to content

Commit

Permalink
We need uploads also.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Aug 3, 2010
1 parent 5872039 commit 23caf8a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vendor/plugins/refinery/lib/tasks/refinery.rake
Expand Up @@ -162,6 +162,7 @@ namespace :refinery do
Rails.root.join('features', 'refinery').mkpath
Rails.root.join('features', 'step_definitions', 'refinery').mkpath
Rails.root.join('features', 'support').mkpath
Rails.root.join('features', 'uploads').mkpath

# copy in cucumber features
FileUtils::cp Dir[Refinery.root.join('features', 'refinery', '*.feature').to_s],
Expand All @@ -176,6 +177,10 @@ namespace :refinery do
Rails.root.join('features', 'step_definitions').to_s,
:verbose => verbose

FileUtils::cp Dir[Refinery.root.join('features', 'uploads', '*').to_s],
Rails.root.join('features', 'uploads').to_s,
:verbose => verbose

FileUtils::cp Dir[Refinery.root.join('features', 'support', '*.rb').to_s],
Rails.root.join('features', 'support').to_s,
:verbose => verbose
Expand Down

0 comments on commit 23caf8a

Please sign in to comment.