Gazler/githug

View on GitHub
levels/grep.rb

Summary

Maintainability
A
0 mins
Test Coverage
difficulty 2
description "Your project's deadline approaches, you should evaluate how many TODOs are left in your code"

setup do
  init_from_level
  system "git branch -m master"
end

solution do
  request("How many items are there in your todolist?") == "4"
end

hint do
  puts "You want to research the `git grep` command."
end