Skip to content

Commit

Permalink
use **options in spec for newer Ruby versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDKelley committed Aug 18, 2021
1 parent 32bb3a7 commit f2c55a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/listen/silencer_spec.rb
Expand Up @@ -6,7 +6,7 @@

RSpec.describe Listen::Silencer do
let(:options) { {} }
subject { described_class.new(options) }
subject { described_class.new(**options) }

describe '#silenced?' do
it { should accept(:file, Pathname('some_dir').join("some_file.rb")) }
Expand Down

0 comments on commit f2c55a4

Please sign in to comment.