Sha256: 2634eb9eaa88c6133d53d4a52c80589e27d336b2e32582b99bf58ce1d184f8e3

Contents?: true

Size: 290 Bytes

Versions: 7

Compression:

Stored size: 290 Bytes

Contents

def test_file_path(file_name)
  File.join(
    File.dirname(__FILE__),
    "../test_classes/#{file_name}.rb"
  )
end

def read_test_file(file_name)
  File.read(
    test_file_path(file_name)
  )
end

def load_args_block(method_call)
  loader = ArgsLoader.new
  loader.load(method_call)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sandi_meter-1.2.0 spec/support/helper_methods.rb
sandi_meter-1.1.8 spec/support/helper_methods.rb
sandi_meter-1.1.7 spec/support/helper_methods.rb
sandi_meter-1.1.6 spec/support/helper_methods.rb
sandi_meter-1.1.5 spec/support/helper_methods.rb
sandi_meter-1.0.5 spec/support/helper_methods.rb
sandi_meter-1.0.4 spec/support/helper_methods.rb