Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
add default for has_snapshot method - to ensure this works with vagra…
Browse files Browse the repository at this point in the history
…nt-cucumber
  • Loading branch information
madAndroid committed Oct 2, 2014
1 parent c231b99 commit 95ca24c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def snapshot_list
snapshots
end

def has_snapshot?(name)
def has_snapshot?(name=nil)
if name.nil?
return true unless snapshot_list.empty?
else
Expand Down

0 comments on commit 95ca24c

Please sign in to comment.