From 5ed7c81b6d889826757601a8bd0875a351a289ce Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sat, 30 Jan 2016 14:31:22 +0100 Subject: [PATCH] fix travis failing --- .travis.yml | 2 ++ t/commands.vim | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9ed483e..9980baa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: ruby +before_install: + - curl -f -L "https://raw.githubusercontent.com/vim-airline/vim-airline-themes/master/autoload/airline/themes/simple.vim" -o autoload/airline/themes/simple.vim rvm: - 1.9.3 script: rake ci diff --git a/t/commands.vim b/t/commands.vim index 4e23d5d..e9b6009 100644 --- a/t/commands.vim +++ b/t/commands.vim @@ -22,6 +22,8 @@ describe 'commands' Expect g:airline_theme == 'simple' execute 'AirlineTheme dark' Expect g:airline_theme == 'dark' + execute 'AirlineTheme doesnotexist' + Expect g:airline_theme == 'dark' end it 'should have a refresh command'