diff options
| author | mo khan <mo.khan@gmail.com> | 2020-04-13 12:38:45 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-04-13 12:38:45 -0600 |
| commit | 1b517a1c930df07607b2a0ec181bf2c02fb8430b (patch) | |
| tree | d3ccaffc302421c2e426ec8b199a6f6c9effdeb7 /spec/unit/dotnet | |
| parent | 47b58a70c7cf08ef1b9158222271c8309550b25c (diff) | |
Extract Registerable module and memoize registered instances
Diffstat (limited to 'spec/unit/dotnet')
| -rw-r--r-- | spec/unit/dotnet/parsers/csproj_spec.rb | 2 | ||||
| -rw-r--r-- | spec/unit/dotnet/parsers/sln_spec.rb | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/spec/unit/dotnet/parsers/csproj_spec.rb b/spec/unit/dotnet/parsers/csproj_spec.rb index b9a8d19..c377f8c 100644 --- a/spec/unit/dotnet/parsers/csproj_spec.rb +++ b/spec/unit/dotnet/parsers/csproj_spec.rb @@ -34,8 +34,6 @@ RSpec.describe Spandx::Dotnet::Parsers::Csproj do end describe '.matches?' do - subject { described_class } - specify { expect(subject.matches?('/root/simple.csproj')).to be(true) } specify { expect(subject.matches?('C:\Documents and Settings\simple.csproj')).to be(true) } specify { expect(subject.matches?('C:\Documents and Settings\hello world.csproj')).to be(true) } diff --git a/spec/unit/dotnet/parsers/sln_spec.rb b/spec/unit/dotnet/parsers/sln_spec.rb index e29db13..41b9981 100644 --- a/spec/unit/dotnet/parsers/sln_spec.rb +++ b/spec/unit/dotnet/parsers/sln_spec.rb @@ -19,8 +19,6 @@ RSpec.describe Spandx::Dotnet::Parsers::Sln do end describe '.matches?' do - subject { described_class } - specify { expect(subject.matches?('/root/example.sln')).to be(true) } specify { expect(subject.matches?('C:\development\hello world.sln')).to be(true) } end |
