]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Convert specs to RSpec 2.99.0 syntax with Transpec
authorAshley Penney <ashley.penney@puppetlabs.com>
Wed, 4 Jun 2014 18:37:45 +0000 (14:37 -0400)
committerAshley Penney <ashley.penney@puppetlabs.com>
Wed, 4 Jun 2014 18:37:45 +0000 (14:37 -0400)
commitd65d2354a7458c3281386e7065bd1938d2c2adee
tree33ba6f310e0d9670335fabb67ecda630f1668467
parentf9f6e92dffa8364cfbbd92a6a65f4be4ef176d2c
Convert specs to RSpec 2.99.0 syntax with Transpec

This conversion is done by Transpec 2.2.1 with the following command:
    transpec spec/unit

* 53 conversions
    from: obj.should
      to: expect(obj).to

* 19 conversions
    from: == expected
      to: eq(expected)

* 5 conversions
    from: lambda { }.should
      to: expect { }.to

* 2 conversions
    from: be_true
      to: be_truthy

For more details: https://github.com/yujinakayama/transpec#supported-conversions
spec/unit/facter/facter_dot_d_spec.rb
spec/unit/facter/pe_version_spec.rb
spec/unit/facter/root_home_spec.rb
spec/unit/facter/util/puppet_settings_spec.rb
spec/unit/puppet/parser/functions/bool2str_spec.rb
spec/unit/puppet/parser/functions/camelcase_spec.rb
spec/unit/puppet/provider/file_line/ruby_spec.rb
spec/unit/puppet/type/anchor_spec.rb
spec/unit/puppet/type/file_line_spec.rb