Sha256: 2d12f435c0bb147fbff47f29e3ac97b5e120c192ea1ff34c8a8209bcef44f3ef

Contents?: true

Size: 445 Bytes

Versions: 160

Compression:

Stored size: 445 Bytes

Contents

describe KnapsackPro::Utils do
  describe '.unsymbolize' do
    let(:test_files) do
      [
        { path: 'a_spec.rb', time_execution: 0.1 },
        { path: 'b_spec.rb', time_execution: 0.2 },
      ]
    end

    subject { described_class.unsymbolize(test_files) }

    it do
      should eq([
        { 'path' => 'a_spec.rb', 'time_execution' => 0.1 },
        { 'path' => 'b_spec.rb', 'time_execution' => 0.2 },
      ])
    end
  end
end

Version data entries

160 entries across 160 versions & 1 rubygems

Version Path
knapsack_pro-3.2.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-3.2.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-3.1.3 spec/knapsack_pro/utils_spec.rb
knapsack_pro-3.1.2 spec/knapsack_pro/utils_spec.rb
knapsack_pro-3.1.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-3.1.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-3.0.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.18.2 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.18.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.18.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.17.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.16.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.15.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.14.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.13.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.12.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.11.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.10.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.10.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.9.0 spec/knapsack_pro/utils_spec.rb