diff options
Diffstat (limited to 'spec/unit/provider/mount')
-rw-r--r-- | spec/unit/provider/mount/mount_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/provider/mount/solaris_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/mount/mount_spec.rb b/spec/unit/provider/mount/mount_spec.rb index 4e636fba5f..52be15b2a8 100644 --- a/spec/unit/provider/mount/mount_spec.rb +++ b/spec/unit/provider/mount/mount_spec.rb @@ -107,7 +107,7 @@ describe Chef::Provider::Mount::Mount do expect { @provider.load_current_resource();@provider.mountable? }.to raise_error(Chef::Exceptions::Mount) end - %w(tmpfs fuse cgroup).each do |fstype| + %w{tmpfs fuse cgroup}.each do |fstype| it "does not expect the device to exist for #{fstype}" do @new_resource.fstype(fstype) @new_resource.device("whatever") diff --git a/spec/unit/provider/mount/solaris_spec.rb b/spec/unit/provider/mount/solaris_spec.rb index 3d5ce53619..51ace83470 100644 --- a/spec/unit/provider/mount/solaris_spec.rb +++ b/spec/unit/provider/mount/solaris_spec.rb @@ -316,7 +316,7 @@ describe Chef::Provider::Mount::Solaris, :unix_only do end it "should set the options field on the current_resource" do - expect(provider.current_resource.options).to eql(%w(rw soft)) + expect(provider.current_resource.options).to eql(%w{rw soft}) end it "should set the pass field on the current_resource" do |