Skip to content

Instantly share code, notes, and snippets.

@inohiro
Created June 14, 2012 18:16
Show Gist options
  • Save inohiro/2931916 to your computer and use it in GitHub Desktop.
Save inohiro/2931916 to your computer and use it in GitHub Desktop.
rspec_executer.rb
BASE = "/home/inohiro/Projects/rails_2_3_14/src/admin_rails306/spec/lib/"
Dir.glob( BASE + '*.rb' ) do |f|
puts f
system( 'rspec ' + f ).to_s
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment