diff options
-rw-r--r-- | rubygem-gemnasium-parser.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/rubygem-gemnasium-parser.spec b/rubygem-gemnasium-parser.spec index 34153d8..a53063d 100644 --- a/rubygem-gemnasium-parser.spec +++ b/rubygem-gemnasium-parser.spec @@ -15,8 +15,8 @@ BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # Test suite currently fails, but these are the BRs to run it: -#BuildRequires: rubygem(rspec) -#BuildRequires: rubygem(bundler) +BuildRequires: rubygem(rspec) +BuildRequires: rubygem(bundler) BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version} @@ -61,12 +61,12 @@ cp -pa .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check -# Test suite has many failures. Upstream is going through a major refactor on -# for rspec tests. See https://github.com/gemnasium/gemnasium-parser/pull/29 -# For now we will comment out the test suite. -#pushd .%%{gem_instdir} -# rspec -Ilib spec -#popd +pushd .%{gem_instdir} + # Test suite has many failures. Upstream is going through a major refactor on + # for rspec tests. See https://github.com/gemnasium/gemnasium-parser/pull/29 + # For now we will make the test suite unconditionally return success. + rspec -Ilib spec || : +popd %files %dir %{gem_instdir} |