Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 29 lines (25 sloc) 0.745 kb
5f8969ca » ryanb
2010-01-11 initial import
1 require 'rubygems'
9101a2f3 » fxposter
2011-07-10 embedded simple rails app for testing, added integration test
2 # require 'appraisal'
5f8969ca » ryanb
2010-01-11 initial import
3 require 'rake'
4
bd47c6e4 » fxposter
2011-08-11 check that everything works with latest rails 3.1.rc
5 begin
6 require 'rspec/core/rake_task'
7 desc "Run RSpec"
8 RSpec::Core::RakeTask.new do |t|
9 t.verbose = false
10 end
11 rescue LoadError
12 puts "You should run rake spec:install in order to install all corresponding gems!"
5f8969ca » ryanb
2010-01-11 initial import
13 end
14
9e2a4213 » fxposter
2011-06-03 added support for SimpleForm and Formtastic
15 task :default => :spec
9101a2f3 » fxposter
2011-07-10 embedded simple rails app for testing, added integration test
16 namespace :spec do
17 task :install do
18 puts `bundle install --gemfile=gemfiles/Gemfile.rails3_0`
19 puts `bundle install --gemfile=gemfiles/Gemfile.rails3_1`
20 end
21
22 task :all do
23 ENV['BUNDLE_GEMFILE'] = File.expand_path('../gemfiles/Gemfile.rails3_0', __FILE__)
24 Rake::Task["spec"].execute
25
26 ENV['BUNDLE_GEMFILE'] = File.expand_path('../gemfiles/Gemfile.rails3_1', __FILE__)
27 Rake::Task["spec"].execute
28 end
29 end
Something went wrong with that request. Please try again.