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-7.6.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-7.1.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-7.0.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-7.0.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-6.0.4 spec/knapsack_pro/utils_spec.rb
knapsack_pro-6.0.3 spec/knapsack_pro/utils_spec.rb
knapsack_pro-6.0.2 spec/knapsack_pro/utils_spec.rb
knapsack_pro-6.0.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-6.0.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-5.7.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-5.6.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-5.5.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-5.4.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-5.4.0 spec/knapsack_pro/utils_spec.rb
knapsack_pro-5.3.5 spec/knapsack_pro/utils_spec.rb
knapsack_pro-5.3.4 spec/knapsack_pro/utils_spec.rb
knapsack_pro-5.3.3 spec/knapsack_pro/utils_spec.rb
knapsack_pro-5.3.2 spec/knapsack_pro/utils_spec.rb
knapsack_pro-5.3.1 spec/knapsack_pro/utils_spec.rb
knapsack_pro-5.3.0 spec/knapsack_pro/utils_spec.rb