Skip to content

Instantly share code, notes, and snippets.

@dchelimsky
Created March 18, 2009 03:31
Show Gist options
  • Save dchelimsky/80925 to your computer and use it in GitHub Desktop.
Save dchelimsky/80925 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f >= 1.9
ENV['RAILS_ENV'] ||= 'test'
require File.join(File.dirname(__FILE__), "/../config/environment")
require 'spec/autorun'
exit ::Spec::Runner::CommandLine.run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment