spec/guard/foodcritic/runner_spec.rb in guard-foodcritic-1.0.1 vs spec/guard/foodcritic/runner_spec.rb in guard-foodcritic-1.0.2

- old
+ new

@@ -32,10 +32,10 @@ end end describe "#run" do let(:runner) { described_class.new } - let(:command) { mock "command" } + let(:command) { double "command" } before { runner.stub(:command).and_return(command) } it "generates the command with the given paths and runs it" do paths = %w(recipes/default.rb attributes/default.rb) runner.should_receive(:system).with(command)