Updated Rails to 2.1.0
[gitorious:georgyos-clone.git] / vendor / plugins / rspec / pre_commit / spec / spec_suite.rb
1 class SpecSuite
2   def run
3     system("ruby rspec/spec/rspec_suite.rb") || raise("Rspec Suite FAILED")
4     system("ruby rspec_on_rails/spec/rails_suite.rb") || raise("Rails Suite FAILED")
5     system("ruby cached_example_rails_app/spec/rails_app_suite.rb") || raise("Rails App Suite FAILED")
6   end
7 end
8
9 if $0 == __FILE__
10   SpecSuite.new.run
11 end