16 Commits

Author SHA1 Message Date
Fabio Rehm
54656151cf Convert specs to RSpec 2.14.8 syntax with Transpec
This conversion is done by Transpec 1.10.2 with the following command:
    transpec test/unit/

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

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

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

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

* 25 conversions
    from: its(:attr) { }
      to: describe '#attr' do subject { super().attr }; it { } end

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

* 7 conversions
    from: obj.should_not_receive(:message)
      to: expect(obj).not_to receive(:message)

* 3 conversions
    from: Klass.any_instance.should_receive(:message)
      to: expect_any_instance_of(Klass).to receive(:message)
2014-03-14 12:02:07 -03:00
Mitchell Hashimoto
7f2fe524b3 core: use default color by default (not white) 2014-03-05 10:19:53 -08:00
Mitchell Hashimoto
a4f64d0148 core: ui can hide details 2014-02-13 21:09:02 -08:00
Mitchell Hashimoto
e6ca9d6f81 core: Ui::Prefixed can take prefix_spaces option 2014-02-08 15:14:21 -08:00
Mitchell Hashimoto
2d7c161f49 core: Ui#dup works properly 2014-02-08 15:11:51 -08:00
Mitchell Hashimoto
1e50e7aca1 core: Prefixed UI only requests bolding if not specified at instance-level 2014-02-08 14:26:26 -08:00
Mitchell Hashimoto
b71cde6b99 core: make box add UI much icer 2014-02-05 21:19:44 -08:00
Mitchell Hashimoto
00530303fb core: color success Ui green 2014-01-23 13:15:07 -08:00
Mitchell Hashimoto
d81af187ea core: add tests for MachineReadable and frozen strings 2014-01-21 12:13:54 -08:00
Mitchell Hashimoto
06f1ebf752 core: add more tests for MachineReadable UI 2014-01-21 12:11:53 -08:00
Mitchell Hashimoto
f2f58655e8 core: get rid of more references to scope, old terminology 2014-01-21 12:06:04 -08:00
Mitchell Hashimoto
a32e154e6e core: use cleaner UI abstractions 2014-01-20 17:18:36 -08:00
Mitchell Hashimoto
fc86a10796 core: only bold when output is part of a machine 2014-01-20 16:37:06 -08:00
Mitchell Hashimoto
0eec9aa599 core: extensive tests for Vagrant::UI classes 2014-01-17 21:31:07 -08:00
Mitchell Hashimoto
282bf37350 Get the tests passing 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto
ce5d989384 Moving unit tests to test/unit 2011-08-28 23:10:32 -07:00