Sha256: 881d83183f6a256e9da0039ef79d2649c860c108514a91c4e6888ec334054046

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 Bytes

Contents

module Capistrano
  module Ghostinspector
    def self.getTests(test, giconfig)

		# Return an array of tests/suites to
		# run in ghost inspector
		array = Array.new
		if (test != nil)
		  test.split(',').each do |key|
		    if (giconfig.has_key?(key))
		      array << giconfig[key] 
		    end 
		  end
		end

		return array

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
capistrano-ghostinspector-0.2.0 lib/capistrano/ghostinspector/arrays.rb
capistrano-ghostinspector-0.2.0.rc lib/capistrano/ghostinspector/arrays.rb
capistrano-ghostinspector-0.1.2 lib/capistrano/ghostinspector/arrays.rb
capistrano-ghostinspector-0.1.1 lib/capistrano/ghostinspector/arrays.rb
capistrano-ghostinspector-0.1.0 lib/capistrano/ghostinspector/arrays.rb