Sha256: 1bfb776f0f5a61fbc210179e34cf9855decba007ede85ab905dae8c2d46e20d4

Contents?: true

Size: 421 Bytes

Versions: 4

Compression:

Stored size: 421 Bytes

Contents

module BDDGen
  module CucumberHelpers
    def tmp_dir
      File.expand_path("../../tmp/aruba", File.dirname(__FILE__))
    end
    
    def template_dir
      BDDGen::App.source_root
    end
    
    def read_temp_file(file)
      if @working_dir
        File.read(File.join(tmp_dir, @working_dir, file))
      else
        File.read(File.join(tmp_dir, file))
      end
    end
  end
end

World(BDDGen::CucumberHelpers)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bddgen-0.3.0 features/support/helpers.rb
bddgen-0.2.1 features/support/helpers.rb
bddgen-0.2.0 features/support/helpers.rb
bddgen-0.1.0 features/support/helpers.rb