Sha256: 1ead499bed2228e67474a69ccfe11a439cb42b3a7a2ccfd21912efacba059400

Contents?: true

Size: 527 Bytes

Versions: 12

Compression:

Stored size: 527 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
Bundler::GemHelper.install_tasks
require 'appraisal'

require 'rake/testtask'

task 'setup_dummy_app' do
  unless File.exists? "test/dummy/db/test.sqlite3"
    Bundler.with_clean_env do
      sh "cd test/dummy; bundle; bundle exec rake db:migrate; bundle exec rake db:test:prepare; cd ../../;"
    end
  end
end

Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

task :default => [:setup_dummy_app, :test]

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
exception_notification_more_info-1.0.1 Rakefile
exception_notification_more_info-1.0.0 Rakefile
exception_notification-4.1.4 Rakefile
exception_notification-4.1.3 Rakefile
exception_notification-4.1.2 Rakefile
exception_notification-4.1.1 Rakefile
exception_notification-4.1.0 Rakefile
exception_notification-4.1.0.rc2 Rakefile
exception_notification-4.1.0.rc1 Rakefile
exception_notification-4.0.1 Rakefile
exception_notification-4.0.0 Rakefile
exception_notification-4.0.0.rc1 Rakefile