diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d7fe69..19d0d2f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,5 +23,12 @@ jobs: with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true + - name: Configure git user name, email + run: | + git config --global user.name $NAME + git config --global user.email $EMAIL + env: + NAME: "George Costanza" + EMAIL: "george.costanza@vandelay.com" - name: Run tests run: bundle exec rake test diff --git a/test/lolcommits/plugin/loltext_test.rb b/test/lolcommits/plugin/loltext_test.rb index 355702a..ceae3fe 100644 --- a/test/lolcommits/plugin/loltext_test.rb +++ b/test/lolcommits/plugin/loltext_test.rb @@ -100,7 +100,7 @@ def valid_enabled_config end describe '#valid_configuration?' do - it 'should be trye even if config is not set' do + it 'should be true even if config is not set' do _(plugin.valid_configuration?).must_equal(true) end