diff options
author | Zeal Jagannatha <zealjagannatha@gmail.com> | 2018-03-02 15:58:09 -0800 |
---|---|---|
committer | Zeal Jagannatha <zealjagannatha@gmail.com> | 2018-03-05 11:02:51 -0800 |
commit | ea281aa0c43f0894e876529316bbb7aefd6cc5fd (patch) | |
tree | 248866fab5dc3395ed1739356fc1532a8a4d5e73 /spec/data | |
parent | 86a8e51cf16d87cbc57c2635324ab8a8a04a49d9 (diff) | |
download | chef-ea281aa0c43f0894e876529316bbb7aefd6cc5fd.tar.gz |
Added source_file to FromFile
This new field tracks the file from which the object was loaded.
Signed-off-by: Zeal Jagannatha <zealjagannatha@gmail.com>
Diffstat (limited to 'spec/data')
-rw-r--r-- | spec/data/mixin/invalid_data.rb | 3 | ||||
-rw-r--r-- | spec/data/mixin/real_data.rb | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/spec/data/mixin/invalid_data.rb b/spec/data/mixin/invalid_data.rb new file mode 100644 index 0000000000..e6f6c3a783 --- /dev/null +++ b/spec/data/mixin/invalid_data.rb @@ -0,0 +1,3 @@ +# For spec/functional/mixin/from_file_spec.rb +a :foo +c :bar diff --git a/spec/data/mixin/real_data.rb b/spec/data/mixin/real_data.rb new file mode 100644 index 0000000000..e15b86fc68 --- /dev/null +++ b/spec/data/mixin/real_data.rb @@ -0,0 +1,2 @@ +# For spec/functional/mixin/from_file_spec.rb +a :foo |