This test was set by Enrique Comba Riepenhausen @ecomba and Alex Peattie @alexpeattie whilst learning to code at Makers Academy. The aim was to build an object oriented model of airports and planes in Ruby.
Responsibilities | Collaborators |
---|---|
can be sunny or stormy | Airport |
can switch state at random |
Responsibilities | Collaborators |
---|---|
can land at an Airport, if clear to land | Airport |
can take off from an Airport, if clear to take off |
Responsibilities | Collaborators |
---|---|
has a maximum capacity of Planes | Plane |
has a collection of Planes | Weather |
has its own Weather | |
can be clear for take offs and landings |
clone [email protected]:apostoiis/airport-planes.git
cd airport-planes
rspec