-
-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The default `rake` task is now the non-appraisal version, which runs both the specs and features. To run appraisals, use the appraisal CLI: `appraisal rake`. Updated travis config to use appraisal CLI. Updated rails 4.x dependencies to latest versions.
- Loading branch information
1 parent
b8a51ad
commit 80f230e
Showing
6 changed files
with
21 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
# encoding: utf-8 | ||
|
||
require 'rubygems' | ||
require 'bundler/setup' | ||
require 'bundler/gem_tasks' | ||
|
||
require 'rake' | ||
require 'cucumber/rake/task' | ||
require 'rspec/core/rake_task' | ||
require 'appraisal' | ||
|
||
require 'clearance/testing/application' | ||
Clearance::Testing::Application.load_tasks | ||
|
||
desc 'Default' | ||
task :default => [:all] | ||
|
||
desc 'Test the engine under all supported Rails versions' | ||
task :all => ['appraisal:install'] do |t| | ||
exec 'rake appraisal spec cucumber' | ||
end | ||
desc 'Run the specs and cucumber featrues' | ||
task :all => [:spec, :cucumber] | ||
|
||
RSpec::Core::RakeTask.new(:spec) | ||
Clearance::Testing::Application.load_tasks | ||
|
||
Cucumber::Rake::Task.new(:cucumber) do |t| | ||
t.fork = false | ||
t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')] | ||
end | ||
|
||
RSpec::Core::RakeTask.new(:spec) |