Sha256: 6d6dfda63f97d4734d16fc5e5038b64fa0bcf590fcb7f22f491a47183b9bb717

Contents?: true

Size: 304 Bytes

Versions: 188

Compression:

Stored size: 304 Bytes

Contents

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

Version data entries

188 entries across 188 versions & 1 rubygems

Version Path
knapsack_pro-2.1.1 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-2.1.0 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-2.0.0 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.22.3 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.22.2 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.22.1 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.22.0 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.21.0 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.20.2 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.20.1 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.20.0 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.19.0 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.18.2 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.18.1 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.18.0 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.17.0 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.16.1 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.16.0 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.15.0 spec/knapsack_pro/test_file_cleaner_spec.rb
knapsack_pro-1.14.0 spec/knapsack_pro/test_file_cleaner_spec.rb