Enable cucumber tests.

f38
Pavel Valena 7 years ago
parent bf103ff8e8
commit 18ad7ac2a7

@ -23,11 +23,7 @@ BuildRequires: ruby(release)
BuildRequires: rubygems-devel BuildRequires: rubygems-devel
BuildRequires: rubygem(rspec-core) BuildRequires: rubygem(rspec-core)
BuildRequires: rubygem(rspec-expectations) BuildRequires: rubygem(rspec-expectations)
# cucumber tests are non-functional during RPM build BuildRequires: rubygem(aruba)
#BuildRequires: rubygem(cucumber) => 1.3.8
#BuildRequires: rubygem(cucumber) < 1.4
#BuildRequires: rubygem(aruba) => 0.5
#BuildRequires: rubygem(aruba) < 1
BuildArch: noarch BuildArch: noarch
%if 0%{?el7} %if 0%{?el7}
Provides: rubygem(%{gem_name}) = %{version} Provides: rubygem(%{gem_name}) = %{version}
@ -60,9 +56,9 @@ cp -a .%{gem_dir}/* \
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
cat %{PATCH0} | patch -p1 -F 0 cat %{PATCH0} | patch -p1 -F 0
rspec -Ilib spec rspec -Ilib spec
# cucumber tests are non-functional during RPM build export RUBYOPT="-I${PWD}/lib"
#cucumber -Ilib features/*.feature cucumber
popd popd

Loading…
Cancel
Save