Commit graph

19 commits

Author SHA1 Message Date
Fabio Rehm
c2d0e0a02c spec: Embrace rspec3 2014-03-21 19:31:34 -03:00
Fabio Rehm
2e2c2fad56 Convert specs to RSpec 2.99.0.beta2 syntax with Transpec
This conversion is done by Transpec 1.10.2 with the following command:
    transpec

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

* 20 conversions
    from: obj.stub(:message)
      to: allow(obj).to receive(:message)

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

* 6 conversions
    from: obj.should_receive(:message)
      to: expect(obj).to receive(:message)

* 5 conversions
    from: obj.should_not
      to: expect(obj).not_to

* 5 conversions
    from: Klass.any_instance.stub(:message) { |arg| }
      to: Klass.any_instance.stub(:message) { |instance, arg| }

* 5 conversions
    from: Klass.any_instance.stub(:message)
      to: allow_any_instance_of(Klass).to receive(:message)

* 1 conversion
    from: lambda { }.should
      to: expect { }.to
2014-03-14 11:38:54 -03:00
Fabio Rehm
60f3a67bb0 Make sure Vagrant::LXC.source_root is available to all specs 2014-03-14 11:34:46 -03:00
Fabio Rehm
aef40d5b42 core: Fix tests to be rspec 3.0 compatible [GH-111] 2014-03-13 00:57:36 -03:00
Fabio Rehm
cd19ca4eda Improve simplecov result merging 2013-04-20 17:40:27 -03:00
Fabio Rehm
6c59cd2f53 Set up coveralls 2013-04-12 18:29:03 -03:00
Fabio Rehm
ee9bfa4189 Config#start_opts -> Config#customize 2013-04-05 22:10:49 -03:00
Fabio Rehm
dcfd7347c6 Move i18n require up to spec_helper 2013-03-26 22:14:32 -03:00
Fabio Rehm
8e7c5b2e83 Eager loads plugin files in case we need to verify constant names on specs 2013-03-26 21:59:03 -03:00
Fabio Rehm
59d9c3c892 Remove old comment 2013-03-25 20:32:42 -03:00
Fabio Rehm
83076f4312 Moar vendored vagrant leftovers 2013-03-14 22:45:45 -03:00
Fabio Rehm
bee1e98e35 Remove vendored vagrant leftovers from specs 2013-03-14 22:39:57 -03:00
Fabio Rehm
c9288159d2 Remove spec support code from code coverage report 2013-03-02 23:33:57 -03:00
Fabio Rehm
61c4982fde Vendorize vagrant
Closes #19
2013-03-02 20:36:06 -03:00
Fabio Rehm
250ed36d93 Proper setup of rspec-fire and improved rspec rake tasks 2013-03-01 21:50:21 -03:00
Fabio Rehm
927c56c024 Safety net for running unit specs 2013-03-01 21:20:11 -03:00
Fabio Rehm
c54fbebfec Guard and rspec boilerplate 2013-02-28 00:06:29 -03:00
Fabio Rehm
d7fd676adb Move spec_helper used on spike out of the way 2013-02-27 20:13:33 -03:00
Fabio Rehm
55c9be772d Not so initial commit 2013-02-25 02:04:31 -03:00