summaryrefslogtreecommitdiff
path: root/spec/unit/provider/mount_spec.rb
diff options
context:
space:
mode:
authorSeth Vargo <sethvargo@gmail.com>2013-09-24 17:38:44 -0400
committerBryan McLellan <btm@opscode.com>2013-09-26 11:13:59 -0700
commit6315871ae7deeead95d84d2487c54a03c47e318f (patch)
treea2bf980c434c657aa350c0d3fc4073652cdf43cf /spec/unit/provider/mount_spec.rb
parent61e98b94fb387353841d5b4575816a1d716cfbc9 (diff)
downloadchef-6315871ae7deeead95d84d2487c54a03c47e318f.tar.gz
Normalize whitespace on all files
Diffstat (limited to 'spec/unit/provider/mount_spec.rb')
-rw-r--r--spec/unit/provider/mount_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/unit/provider/mount_spec.rb b/spec/unit/provider/mount_spec.rb
index 1a98f10cb0..a44f9705ee 100644
--- a/spec/unit/provider/mount_spec.rb
+++ b/spec/unit/provider/mount_spec.rb
@@ -23,13 +23,13 @@ describe Chef::Provider::Mount do
@node = Chef::Node.new
@events = Chef::EventDispatch::Dispatcher.new
@run_context = Chef::RunContext.new(@node, {}, @events)
-
+
@new_resource = Chef::Resource::Mount.new('/tmp/foo')
@new_resource.device "/dev/sdz1"
@new_resource.name "/tmp/foo"
@new_resource.mount_point "/tmp/foo"
@new_resource.fstype "ext3"
-
+
@current_resource = Chef::Resource::Mount.new('/tmp/foo')
@current_resource.device "/dev/sdz1"
@current_resource.name "/tmp/foo"
@@ -39,7 +39,7 @@ describe Chef::Provider::Mount do
@provider = Chef::Provider::Mount.new(@new_resource, @run_context)
@provider.current_resource = @current_resource
end
-
+
describe "when the target state is a mounted filesystem" do
it "should mount the filesystem if it isn't mounted" do
@@ -78,7 +78,7 @@ describe Chef::Provider::Mount do
before do
@new_resource.supports[:remount] = true
end
-
+
it "should remount the filesystem if it is mounted" do
@current_resource.stub!(:mounted).and_return(true)
@provider.should_receive(:remount_fs).and_return(true)
@@ -93,8 +93,8 @@ describe Chef::Provider::Mount do
@new_resource.should_not be_updated_by_last_action
end
end
- describe "when the filesystem should be remounted and the resource does not support remounting" do
- before do
+ describe "when the filesystem should be remounted and the resource does not support remounting" do
+ before do
@new_resource.supports[:remount] = false
end