Permalink
Browse files

Use reject

  • Loading branch information...
1 parent 26efddc commit 757e41f5caee6ec5d8376e107203bc9e5134db36 @r4um r4um committed Dec 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/fpm/package/rpm_spec.rb
@@ -268,7 +268,7 @@ def subject.render_template; @rpmspec = template("rpm.erb").result(binding); end
# The 'os' tag will be set to \x01 if the package 'target'
# was set incorrectly.
- insist { insist { @rpmtags[:os] } == "\x01" }.fails
+ reject { @rpmtags[:os] } == "\x01"
insist { @rpmtags[:os] } == os
insist { `rpm -q --qf '%{OS}' -p #{@target}`.chomp } == os

0 comments on commit 757e41f

Please sign in to comment.