diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-29 14:05:42 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-29 14:05:42 -0800 |
commit | 652389fbd848861997b9b0c67fae7b2f5ecef064 (patch) | |
tree | 7cdde53b9b00b965052b2d4d9786768c003d47a6 /spec/unit/shell_spec.rb | |
parent | 0fb2730a4c77264d6d5267eb3261f2912a25791f (diff) | |
download | chef-652389fbd848861997b9b0c67fae7b2f5ecef064.tar.gz |
fix rspec_reset problem
follows the pattern in the rspec-mocks spec tests of defining a
helper module:
https://github.com/rspec/rspec-mocks/blob/cee433c89125a3984df33c87eb61985613adce9b/spec/spec_helper.rb
Diffstat (limited to 'spec/unit/shell_spec.rb')
-rw-r--r-- | spec/unit/shell_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/shell_spec.rb b/spec/unit/shell_spec.rb index fd4241732f..969c526ef4 100644 --- a/spec/unit/shell_spec.rb +++ b/spec/unit/shell_spec.rb @@ -42,7 +42,7 @@ describe Shell do before do Shell.irb_conf = {} - Shell::ShellSession.instance.rspec_reset + reset Shell::ShellSession.instance Shell::ShellSession.instance.stub!(:reset!) end |