Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 21 lines (16 sloc) 0.565 kb
94517cb Initial import / some specs for display.
Rob Yurkowski authored
1 #!/usr/bin/env rake
2 begin
3 require 'bundler/setup'
4 rescue LoadError
5 puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6 end
7
8 ENGINE_PATH = File.dirname(__FILE__)
9 APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
10
11 if File.exists?(APP_RAKEFILE)
12 load 'rails/tasks/engine.rake'
13 end
14
15 require "refinerycms-testing"
16 Refinery::Testing::Railtie.load_tasks
17 Refinery::Testing::Railtie.load_dummy_tasks(ENGINE_PATH)
18
19 load File.expand_path('../tasks/testing.rake', __FILE__)
20 load File.expand_path('../tasks/rspec.rake', __FILE__)
Something went wrong with that request. Please try again.