summaryrefslogtreecommitdiffstats
path: root/spec/unit/provider/macauthorization_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/macauthorization_spec.rb')
-rwxr-xr-xspec/unit/provider/macauthorization_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/unit/provider/macauthorization_spec.rb b/spec/unit/provider/macauthorization_spec.rb
index a76f917f7..dbe36a04b 100755
--- a/spec/unit/provider/macauthorization_spec.rb
+++ b/spec/unit/provider/macauthorization_spec.rb
@@ -106,6 +106,11 @@ describe provider_class do
end
it "should call the internal method set_right" do
+ @provider.expects(:execute).with { |cmds, args|
+ cmds.include?("read") and
+ cmds.include?(@authname) and
+ args[:combine] == false
+ }.once
@provider.expects(:set_right)
@provider.flush
end