lib/git_flower/feature.rb in git_flower-0.1.3 vs lib/git_flower/feature.rb in git_flower-0.2.0
- old
+ new
@@ -11,10 +11,12 @@
end
private
def validate_git_repository!
- GitRepository.new(Dir.pwd).validate_for_feature!
+ GitService.
+ new(repository: GitFlower::GitRepository.new(Dir.pwd)).
+ validate_for_feature!
end
def create_feature!
create_story!("feature")
end