Update apply.rb

File.exist? throws an exception if file_name is nil instead of "". 

Use .to_s to normalise file_name to a string rather than have an explicit nil check.
Fixing case of a nil recipe file with chef apply

Raising the error 'No recipe file was provided' with a fatal!
call when the recipe_name is nil. This case occurs when
chef-apply is called without a recipe name argument.

Also renamed the apply spec file to apply_spec so it is picked
up by an rspec test run. Fixed a typo in the file where it was
creating a 'Chef::Application::Recipe' for @app instead of
'Chef::Application::Apply'
Fixing travis-ci failure.

Travis-CI runs failed due to Chef::Application::Apply picking
up the explicit --format parameter and attempting to use it.

Using ARGV.clear before a call to @app.reconfigure fixes this
failure for now.

Also a whitespace modification in apply.rb
Expanding the file name before checking existance
Making sure the right data is used throughout the test
Support sensitive execute resources.

If the resource is marked sensitive, it should not:
* stream output
* display the command line

Change-Id: Ieb43000d0da41e9cb635c056b207931ef212efa7
Dummy change to get curry to re-examine repo.

Change-Id: Id62328f67d8cd3b0c149cc510e01a79434dff93e
Changed variable name

Change-Id: Ia653aeb2a0183e2bab712aac613e61bfcf691ff7
Added spec tests for sensitive execute resources

Change-Id: I4794d9c8ec38dff58c793bf4c4464862e70dc05b
Factored out opts into before clause.

Change-Id: I1d9e384187c2f7762598c41598cddd35ce9171be
Added exec method to Recipe, addressing Issue 1689
Use let for opts

Change-Id: Icce61096e869abe23ce847691cd65078b0b62cf0
Changed exception to ResourceNotFound and printed the passed block name
use "pacman -Sl" instead of "pacman -Ss <pkgname>"
Updated command mixin to specify Kernel.exec
Ensuring no arguments interfere with tests

Pushed the ARGV.clear statement required for the apply_spec
file up into a before(:suite).
Modify test
Modify comment
Find all refs with desired suffix; choose shortest one
Replace tab indentation with spaces