CHEF-3838: fix unit test in debian_spec for FileEdit change

- also rearrangement to use let instead of instance vars
CHEF-3838: rspec modernization of debian spec