Skip to content

Commit

Permalink
First stab at running against auto-generated rspec specs
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed Sep 5, 2008
1 parent f20fa7e commit 88e8625
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec_resources/generate_rspec_resources.rb
@@ -0,0 +1,10 @@
require 'file_utils'

include FileUtils

cd RAILS_ROOT do
`rake db:migrate VERSION=0`
`script/generate rspec_scaffold Author`
`rake db:migrate`
system "rake spec"
end

0 comments on commit 88e8625

Please sign in to comment.