15 Commits

Author SHA1 Message Date
Jack Nagel
35860ac60f Switch to string keys
The OpenStruct initializer accepts both symbols and strings, but any
nested hashes will only allow access via string keys, so let's always
construct the object with strings for consistency.
2015-02-21 18:44:04 -05:00
Jack Nagel
a6b16dfa18 Eliminate conditional 2015-02-21 12:26:14 -05:00
Jack Nagel
4b1028c9e5 Start recording the formula path in the install receipt
Later we can use this information to try and load the formula from the
correct source.
2015-02-18 21:29:17 -05:00
Mike McQuaid
33b3449621 tab: remap deprecated options in tabs.
If a deprecated option is found in a tab, rename it to the new option.
2014-10-19 13:58:52 +01:00
Jack Nagel
c7444d34f7 Use the as_flags method instead of map 2014-08-14 01:00:23 -05:00
Jack Nagel
d443089270 Simplify tab test setup 2014-08-13 17:15:03 -05:00
Jack Nagel
ca3c727267 Stop exposing combined options from the tab 2014-08-09 16:27:57 -05:00
Jack Nagel
618bb9b413 Better assertions in tab test 2014-08-08 23:31:58 -05:00
Jack Nagel
472a2cec1e Avoid using setters in tab tests 2014-08-07 17:39:55 -05:00
Jack Nagel
c904c71792 Fix tab tests 2014-06-30 08:54:47 -05:00
Jack Nagel
07171f5527 Test that the tab round-trips through JSON 2014-06-29 22:18:44 -05:00
Jack Nagel
cd91709120 Fix typo in tab test setup
This is one of the many problems with using OpenStruct.
2014-06-29 22:18:44 -05:00
Jack Nagel
391bc4c981 Normalize paths before calling Tab.from_file 2014-06-29 21:50:08 -05:00
Jack Nagel
4d11def53c Add tests documenting install receipt loading behavior 2014-06-29 21:49:34 -05:00
Jack Nagel
e2e5839a9a Get the Tab class under test 2014-06-29 00:55:56 -05:00