features/gem_package.feature in hoc-0.7.1 vs features/gem_package.feature in hoc-0.7.2
- old
+ new
@@ -7,10 +7,10 @@
Given I have a "execs.rb" file with content:
"""
#!/usr/bin/env ruby
require 'rubygems'
spec = Gem::Specification::load('./spec.rb')
- fail 'no executables' if spec.executables.empty?
+ raise 'no executables' if spec.executables.empty?
"""
When I run bash:
"""
cd hoc
gem build hoc.gemspec