Enable cucumber tests.

f38
Pavel Valena 7 years ago
parent bf103ff8e8
commit 18ad7ac2a7

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

Loading…
Cancel
Save