Sha256: d0fae35a061f6bdc6b12e293d284c8de97231acf13731050c166c83560d369fb
Contents?: true
Size: 523 Bytes
Versions: 3
Compression:
Stored size: 523 Bytes
Contents
load File.join(File.dirname(__FILE__), 'spec_helper.rb') require 'advisory_example' shared_examples_for "Gem Advisory" do |path| include_examples 'Advisory', path advisory = YAML.load_file(path) describe path do let(:gem) { File.basename(File.dirname(path)) } describe "gem" do subject { advisory['gem'] } it { is_expected.to be_kind_of(String) } it "should be equal to filename (case-insensitive)" do expect(subject.downcase).to eq(gem.downcase) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bundler-audit-0.6.1 | data/ruby-advisory-db/spec/gem_example.rb |
bundler-audit-0.6.0 | data/ruby-advisory-db/spec/gem_example.rb |
bundler-audit-0.5.0 | data/ruby-advisory-db/spec/gem_example.rb |