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-0.28.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.27.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.26.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.25.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.24.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.23.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.22.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.21.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.20.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.19.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.18.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.17.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.16.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.15.2 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.15.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.15.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.14.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.13.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.12.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-0.11.0 spec/knapsack_pro/utils_spec.rb