mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Fix intermittent Travis failures
This commit is contained in:
parent
dc59c248a7
commit
08331edd0e
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,11 @@ require 'capistrano/immutable_task'
|
||||||
|
|
||||||
module Capistrano
|
module Capistrano
|
||||||
describe ImmutableTask do
|
describe ImmutableTask do
|
||||||
|
after do
|
||||||
|
# Ensure that any tasks we create in these tests don't pollute other tests
|
||||||
|
Rake::Task.clear
|
||||||
|
end
|
||||||
|
|
||||||
it 'prints warning and raises when task is enhanced' do
|
it 'prints warning and raises when task is enhanced' do
|
||||||
extend(Rake::DSL)
|
extend(Rake::DSL)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue