spec/unit/berkshelf/git_spec.rb in berkshelf-1.0.0.rc1 vs spec/unit/berkshelf/git_spec.rb in berkshelf-1.0.0.rc2
- old
+ new
@@ -10,10 +10,10 @@
subject.find_git.should_not be_nil
end
it "should raise if it can't find git" do
ENV.should_receive(:[]).with("PATH").and_return(String.new)
-
+
lambda {
subject.find_git
}.should raise_error(GitNotFound)
end
end