Sha256: 1a016851c32242b31be37e90a5bb868cc9f623580fe3c6aaf3621fdcac1f5f46
Contents?: true
Size: 519 Bytes
Versions: 2
Compression:
Stored size: 519 Bytes
Contents
require "bundler/gem_tasks" task :default => 'specs' task :specs do if defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby" && RUBY_VERSION >= "1.9" module Kernel alias :__at_exit :at_exit def at_exit(&block) __at_exit do exit_status = $!.status if $!.is_a?(SystemExit) block.call exit exit_status if exit_status end end end end raise "Tests Failed" unless system 'rspec' raise "Tests Failed" unless system 'rspec sample_app_rails_4/spec' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_mocker-1.2 | Rakefile |
active_mocker-1.2.pre.11 | Rakefile |