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-2.8.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.7.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.6.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.5.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.4.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.3.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.2.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.2.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.1.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.1.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-2.0.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-1.22.3 spec/knapsack_pro/utils_spec.rb
knapsack_pro-1.22.2 spec/knapsack_pro/utils_spec.rb
knapsack_pro-1.22.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-1.22.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-1.21.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-1.20.2 spec/knapsack_pro/utils_spec.rb
knapsack_pro-1.20.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-1.20.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-1.19.0 spec/knapsack_pro/utils_spec.rb