Sha256: c268e0319f38218dda9586c70e382cdb43ccc0e665475cd0b35a2df4eb6a976e
Contents?: true
Size: 487 Bytes
Versions: 8
Compression:
Stored size: 487 Bytes
Contents
module BundlerPreHelper def bundler fixture 'bundler-1.0.21.gem' end def bundler_pre fixture 'bundler-1.1.rc.gem' end def gem_install(path) run_simple("gem install #{path} --no-ri --no-rdoc") end def gem_uninstall(path) run_simple("gem uninstall #{path}") end end Before('@bundler-pre') do extend(BundlerPreHelper) gem_uninstall bundler gem_install bundler_pre end After('@bundler-pre') do gem_uninstall bundler_pre gem_install bundler end
Version data entries
8 entries across 8 versions & 1 rubygems