spec/tasks/git_spec.rb in mina-1.2.4 vs spec/tasks/git_spec.rb in mina-1.2.5

- old
+ new

@@ -1,8 +1,14 @@ +# frozen_string_literal: true + require 'spec_helper' RSpec.describe 'git', type: :rake do + before do + load_default_config + end + describe 'git:clone' do it 'git clone' do expect { invoke_all }.to output(output_file('git_clone')).to_stdout end @@ -14,8 +20,14 @@ end describe 'git:revision' do it 'git revision' do expect { invoke_all }.to output(output_file('git_revision')).to_stdout + end + end + + describe 'git:ensure_pushed' do + it 'git ensure pushed' do + expect { invoke_all }.to output(output_file('git_ensure_pushed')).to_stdout end end end