diff options
author | Aaron Stone <aaron@serendipity.cx> | 2012-10-19 00:26:39 -0700 |
---|---|---|
committer | Aaron Stone <aaron@serendipity.cx> | 2012-10-19 00:27:46 -0700 |
commit | 821c66fe76056784f84376e5beb4d2de629998ed (patch) | |
tree | 453cc95abbd37aa7b31464f98ab9059af8caed8c /spec/unit/puppet/provider/vcsrepo/hg_spec.rb | |
parent | 5402f4f1dd4b315f14afa671e3c2c236ac9f53ce (diff) |
Use symbols consistently with provider.expects()
Diffstat (limited to 'spec/unit/puppet/provider/vcsrepo/hg_spec.rb')
-rw-r--r-- | spec/unit/puppet/provider/vcsrepo/hg_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/puppet/provider/vcsrepo/hg_spec.rb b/spec/unit/puppet/provider/vcsrepo/hg_spec.rb index 948bfe0..f17aa2f 100644 --- a/spec/unit/puppet/provider/vcsrepo/hg_spec.rb +++ b/spec/unit/puppet/provider/vcsrepo/hg_spec.rb @@ -94,9 +94,9 @@ describe_provider :vcsrepo, :hg, :resource => {:path => '/tmp/vcsrepo'} do end it "should use 'hg update ---clean -r'" do expects_chdir - provider.expects('hg').with('pull') - provider.expects('hg').with('merge') - provider.expects('hg').with('update', '--clean', '-r', @revision) + provider.expects(:hg).with('pull') + provider.expects(:hg).with('merge') + provider.expects(:hg).with('update', '--clean', '-r', @revision) provider.revision = @revision end end |