Gazler/githug

View on GitHub
levels/remote.rb

Summary

Maintainability
A
0 mins
Test Coverage
difficulty 2

description "This project has a remote repository. Identify it."

setup do
  repo.init
  repo.remote_add("my_remote_repo", "https://github.com/Gazler/githug")
  system "git branch -m master"
end

solution do
  "my_remote_repo" == request("What is the name of the remote repository?")
end

hint do
  puts "You are looking for a remote. You can run `git` for a list of commands."
end