Sha256: cabd3d40dc0d095bccf4705b33cd4068de2eece8f36c7dd437c74a4befe0771d

Contents?: true

Size: 728 Bytes

Versions: 68

Compression:

Stored size: 728 Bytes

Contents

require 'rubygems'
require 'test/unit'
require 'shoulda'
begin require 'redgreen'; rescue LoadError; end
require 'open3'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
Dir[File.join(File.dirname(__FILE__), "shoulda_macros", "*.rb")].each {|f| require f}
ENV['NO_COLOR'] = "true"

require 'git-style-binary'
GitStyleBinary.run = true

class Test::Unit::TestCase
  def fixtures_dir
    File.join(File.dirname(__FILE__), "fixtures")
  end
end

module RunsBinaryFixtures
  # run the specified cmd returning the string values of [stdout,stderr]
  def bin(cmd)
    stdin, stdout, stderr = Open3.popen3("#{fixtures_dir}/#{cmd}")
    [stdout.read, stderr.read]
  end
end

Version data entries

68 entries across 68 versions & 5 rubygems

Version Path
auser-poolparty-1.2.10 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.2.11 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.2.12 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.2.3 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.2.4 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.2.7 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.2.8 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.2.9 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.3.0 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.3.1 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.3.10 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.3.11 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.3.12 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.3.13 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.3.14 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.3.15 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.3.16 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.3.17 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.3.2 vendor/gems/git-style-binaries/test/test_helper.rb
auser-poolparty-1.3.3 vendor/gems/git-style-binaries/test/test_helper.rb