Sha256: 7c194bb201eae8236d65b098e1d71adf199249b76ea3ea11a31c33409e891672

Contents?: true

Size: 369 Bytes

Versions: 107

Compression:

Stored size: 369 Bytes

Contents

module Ridley
  module SpecHelpers
    def app_root_path
      Pathname.new(File.expand_path('../../../', __FILE__))
    end

    def clean_tmp_path
      FileUtils.rm_rf(tmp_path)
      FileUtils.mkdir_p(tmp_path)
    end

    def fixtures_path
      app_root_path.join('spec/fixtures')
    end

    def tmp_path
      app_root_path.join('spec/tmp')
    end
  end
end

Version data entries

107 entries across 107 versions & 2 rubygems

Version Path
ridley-connectors-2.3.0 spec/support/spec_helpers.rb
ridley-4.0.0 spec/support/spec_helpers.rb
ridley-connectors-2.2.0 spec/support/spec_helpers.rb
ridley-connectors-2.1.2 spec/support/spec_helpers.rb
ridley-connectors-2.1.1 spec/support/spec_helpers.rb
ridley-connectors-2.1.0 spec/support/spec_helpers.rb
ridley-3.1.0 spec/support/spec_helpers.rb
ridley-connectors-2.0.1 spec/support/spec_helpers.rb
ridley-connectors-2.0.0 spec/support/spec_helpers.rb
ridley-3.0.0 spec/support/spec_helpers.rb
ridley-connectors-2.0.0.rc1 spec/support/spec_helpers.rb
ridley-3.0.0.rc1 spec/support/spec_helpers.rb
ridley-connectors-1.7.1 spec/support/spec_helpers.rb
ridley-connectors-1.7.0 spec/support/spec_helpers.rb
ridley-connectors-1.6.0 spec/support/spec_helpers.rb
ridley-connectors-1.5.0 spec/support/spec_helpers.rb
ridley-2.5.1 spec/support/spec_helpers.rb
ridley-connectors-1.4.0 spec/support/spec_helpers.rb
ridley-2.5.0 spec/support/spec_helpers.rb
ridley-2.4.4 spec/support/spec_helpers.rb