diff options
| author | mo khan <mo.khan@gmail.com> | 2020-04-10 18:28:40 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-04-10 18:28:40 -0600 |
| commit | 5b939d8b1e911ca5efc1964d9b694dab7c61642e (patch) | |
| tree | b59f61be3c0f18264194a3f35c1bf184dadb56fc /spec/unit/ruby | |
| parent | 53f72a5b622c77a5d285c74bc554358d81116867 (diff) | |
Fix linter error
Diffstat (limited to 'spec/unit/ruby')
| -rw-r--r-- | spec/unit/ruby/parsers/gemfile_lock_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/unit/ruby/parsers/gemfile_lock_spec.rb b/spec/unit/ruby/parsers/gemfile_lock_spec.rb index 97244ee..b58b2c7 100644 --- a/spec/unit/ruby/parsers/gemfile_lock_spec.rb +++ b/spec/unit/ruby/parsers/gemfile_lock_spec.rb @@ -8,9 +8,7 @@ RSpec.describe Spandx::Ruby::Parsers::GemfileLock do describe '#parse' do context 'when parsing a Gemfile with a single dependency' do let(:lockfile) { fixture_file('bundler/Gemfile.lock') } - let(:because) do - subject.parse(lockfile) - end + let(:because) { subject.parse(lockfile) } specify { expect(because.count).to be(1) } specify { expect(because[0].name).to eql('net-hippie') } |
