test/lolcommits/plugin/loltext_test.rb in lolcommits-loltext-0.0.9 vs test/lolcommits/plugin/loltext_test.rb in lolcommits-loltext-0.1.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'test_helper' describe Lolcommits::Plugin::Loltext do include Lolcommits::TestHelpers::FakeIO @@ -8,17 +10,9 @@ 'loltext' end it 'should run on post capturing' do ::Lolcommits::Plugin::Loltext.runner_order.must_equal [:post_capture] - end - - describe 'default font' do - it 'should have the correct file permissions' do - font_permissions = File.lstat(Lolcommits::Plugin::Loltext::DEFAULT_FONT_PATH).mode & 0o777 - (font_permissions == 0o644).must_equal(true, - "expected perms of 644/664 but instead got #{format '%o', font_permissions}") - end end describe 'with a runner' do def runner # a simple lolcommits runner with an empty configuration Hash