Sha256: 4c0492dbeac12648e95d2c061f7910ccd04a32612c1a5ba755a7845cac48b278

Contents?: true

Size: 461 Bytes

Versions: 11

Compression:

Stored size: 461 Bytes

Contents

require 'fedux_org/stdlib/filesystem'

module ProxyTester
  module SpecHelper
    module Filesystem
      include FeduxOrg::Stdlib::Filesystem

      def root_directory
        ::File.expand_path('../../../', __FILE__)
      end

      alias_method :in_working_directory, :switch_to_working_directory
    end
  end
end

# encoding: utf-8
RSpec.configure do |c|
  c.include ProxyTester::SpecHelper::Filesystem
  c.before(:each) { cleanup_working_directory }
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
proxy_tester-0.1.2 spec/support/filesystem.rb
proxy_tester-0.1.1 spec/support/filesystem.rb
proxy_tester-0.1.0 spec/support/filesystem.rb
proxy_tester-0.0.9 spec/support/filesystem.rb
proxy_tester-0.0.8 spec/support/filesystem.rb
proxy_tester-0.0.7 spec/support/filesystem.rb
proxy_tester-0.0.6 spec/support/filesystem.rb
proxy_tester-0.0.5 spec/support/filesystem.rb
proxy_tester-0.0.4 spec/support/filesystem.rb
proxy_tester-0.0.3 spec/support/filesystem.rb
proxy_tester-0.0.2 spec/support/filesystem.rb