describe KnapsackPro::TestFileCleaner do
  describe '.clean' do
    subject { described_class.clean(test_file_path) }

    context "removes ./ " do
      let(:test_file_path) { './models/user_spec.rb' }
      it 'removes ./ from the begining of the test file path' do
        expect(subject).to eq 'models/user_spec.rb'
      end
    end

    context "removes , " do
      let(:test_file_path) { 'models/user_spec.rb,' }
      it 'removes , from the end of the test file path' do
        expect(subject).to eq 'models/user_spec.rb'
      end
    end
  end
end

describe KnapsackPro::TestFileCleaner do
  describe '.clean' do
    let(:test_file_path) { './models/user_spec.rb' }

    subject { described_class.clean(test_file_path) }

    it 'removes ./ from the begining of the test file path' do
      expect(subject).to eq 'models/user_spec.rb'
    end
  end
end

Revert "remove , from end of the test file path"
Revert "remove , from end of the test file path"

This reverts commit 77320671361585abd43ef793a9a20628f51c87ba.
