Sha256: 24070c1ce0bd19594e9bd3270a0d7ef0baf0267e0eb80fdbd80d10fb0a81dee5

Contents?: true

Size: 505 Bytes

Versions: 152

Compression:

Stored size: 505 Bytes

Contents

describe KnapsackPro::TestFilePresenter do
  describe '.stringify_paths' do
    let(:test_file_paths) { ['a_spec.rb', 'b_spec.rb'] }

    subject { described_class.stringify_paths(test_file_paths) }

    it { should eq '"a_spec.rb" "b_spec.rb"' }
  end

  describe '.paths' do
    let(:test_files) do
      [
        { 'path' => 'a_spec.rb' },
        { 'path' => 'b_spec.rb' },
      ]
    end

    subject { described_class.paths(test_files) }

    it { should eq ['a_spec.rb', 'b_spec.rb'] }
  end
end

Version data entries

152 entries across 152 versions & 1 rubygems

Version Path
knapsack_pro-3.11.0 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.10.0 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.9.0 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.8.0 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.7.0 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.6.0 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.5.0 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.4.2 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.4.1 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.4.0 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.3.1 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.3.0 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.2.1 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.2.0 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.1.3 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.1.2 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.1.1 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.1.0 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-3.0.0 spec/knapsack_pro/test_file_presenter_spec.rb
knapsack_pro-2.18.2 spec/knapsack_pro/test_file_presenter_spec.rb