diff options
author | adamedx <adamed@opscode.com> | 2013-08-02 12:17:49 -0700 |
---|---|---|
committer | adamedx <adamed@opscode.com> | 2013-08-02 12:17:49 -0700 |
commit | cf1fb483f83c4c0d7f983a30f96719ad833f1e30 (patch) | |
tree | a207a93411480434b7066ae9f91db5bb7f28d3ee | |
parent | 316f6a24557e922f7bfeb1a382b70564e010ef31 (diff) | |
download | chef-cf1fb483f83c4c0d7f983a30f96719ad833f1e30.tar.gz |
Add expectation of no exception for simple save case
-rwxr-xr-x | spec/functional/provider/remote_file/cache_control_data_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/functional/provider/remote_file/cache_control_data_spec.rb b/spec/functional/provider/remote_file/cache_control_data_spec.rb index 20e0172252..13d5eae41f 100755 --- a/spec/functional/provider/remote_file/cache_control_data_spec.rb +++ b/spec/functional/provider/remote_file/cache_control_data_spec.rb @@ -73,7 +73,9 @@ describe Chef::Provider::RemoteFile::CacheControlData do let(:uri) { uri_exceeds_file_system_limit } it "writes data to the cache" do - cache_control_data.save + lambda do + cache_control_data.save + end.should_not raise_error end it "writes the data to the cache and the same data can be read back" do |