inspec/test/unit
Alex Pop 3c3d711dfd bugfix: fix rare inspec shell missing all resources
In some instances, when running inspec shell, you dont get any resources inside of it. i.e. `inspec shell` and then `os` will lead to

```ruby
NameError: undefined local variable or method `os' for
from (pry):1:in `add_content'
```

This is because of instance_eval loading withing the given source/line
information and not attaching to the profile context which actually has
all the resources. Fix it by making sure that inspec shell always
attaches to the profile context with resources by providing nil for
source and line information.
2016-03-24 20:37:46 +01:00
..
fetchers add a mock fetcher 2016-03-17 23:37:09 +01:00
mock wmi unit test 2016-03-20 11:53:56 +01:00
plugins add tests for resource plugin 2016-03-17 15:58:20 +01:00
resources wmi unit test 2016-03-20 11:53:56 +01:00
source_readers add flat source reader 2016-02-22 11:24:35 +01:00
utils ensure deprecated methods still work 2016-02-18 16:25:02 +01:00
control_test.rb feature: add tags and refs 2016-03-18 01:42:26 +01:00
fetchers.rb add unit tests 2016-02-22 18:24:16 +01:00
metadata_test.rb warn about legacy supports fields in metadata 2016-01-21 11:05:26 +01:00
plugin_test.rb remove old target interface 2016-02-22 12:06:42 +01:00
profile_context_test.rb bugfix: fix rare inspec shell missing all resources 2016-03-24 20:37:46 +01:00
profile_test.rb fix tests and lint 2016-02-22 12:06:42 +01:00
source_reader_test.rb create source_reader plugin structure 2016-02-22 11:24:35 +01:00