File: gem_helpers.rb

package info (click to toggle)
ruby-shoulda-matchers 7.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,652 kB
  • sloc: ruby: 34,046; sh: 280; makefile: 9
file content (31 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
require_relative 'base_helpers'
require_relative 'command_helpers'
require_relative 'file_helpers'

module AcceptanceTests
  module GemHelpers
    include BaseHelpers
    include CommandHelpers
    include FileHelpers

    def add_gem(gem, *args)
      bundle.add_gem(gem, *args)
    end

    def install_gems
      bundle.install_gems
    end

    def updating_bundle(&block)
      bundle.updating(&block)
    end

    def bundle_version_of(gem)
      bundle.version_of(gem)
    end

    def bundle_includes?(gem)
      bundle.includes?(gem)
    end
  end
end