Sha256: 3109bda47e2d6aa8058dde40542857fca96f0ebd75cd104311db4922d35e5b73

Contents?: true

Size: 549 Bytes

Versions: 1

Compression:

Stored size: 549 Bytes

Contents

require_relative '..\..\lib\kitchen\verifier\Pester'

class MockPester < Kitchen::Verifier::Pester
    def sandbox_path
        'C:/users/jdoe/temp/kitchen-temp'
    end
    def suite_test_folder
        'C:/lowercasedpath/Pester/tests'
    end
end

describe 'when sandboxifying a path' do
    let(:sandboxifiedPath) {
        pester = MockPester.new
        pester.sandboxify_path('C:/LOWERcasedpath/Pester/tests/test')
    }

    it 'should ignore case' do
        expect(sandboxifiedPath).to eq 'C:/users/jdoe/temp/kitchen-temp/test'
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kitchen-pester-0.8.0 spec/pester/pester_spec.rb