Skip to content

Commit

Permalink
Fixed spec deprecations.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaHydrae committed Nov 10, 2014
1 parent eed4feb commit 38e3864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/box_spec.rb
Expand Up @@ -6,7 +6,7 @@
let(:box){ new_box box_options }

before :each do
Kernel.stub system: nil
allow(Kernel).to receive(:system).and_return(nil)
FileUtils.mkdir_p box_options[:root]

@old_path = ENV['PATH']
Expand Down Expand Up @@ -36,7 +36,7 @@
shared_examples_for "an encfs controller" do |action|

before :each do
Boxafe::Encfs.stub new: double(command: 'fooo')
allow(Boxafe::Encfs).to receive(:new).and_return(double(command: 'fooo'))
end

it "should create an encfs manager" do
Expand Down

0 comments on commit 38e3864

Please sign in to comment.