Sha256: 00753334997db3fd05542f2220449118b0a216a3c1ed9ea1f9d5dd3d26ae7e80
Contents?: true
Size: 520 Bytes
Versions: 5
Compression:
Stored size: 520 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 'cd sample_app_rails_4 && rspec' end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
active_mocker-1.3.2 | Rakefile |
active_mocker-1.3.1 | Rakefile |
active_mocker-1.3 | Rakefile |
active_mocker-1.2.4 | Rakefile |
active_mocker-1.2.3 | Rakefile |