BecaLParker / airport_challenge

Fly!
Other
0 stars 0 forks source link

Airport needs a default capacity that can be overridden as appropriate #2

Closed BecaLParker closed 3 years ago

BecaLParker commented 3 years ago
BecaLParker commented 3 years ago

Feature test:

airport = Airport.new airport.capacity => 4 # assigned in DEFAULT_CAPACITY constant

airport = Airport.new(6) airport.capacity => 6

https://github.com/BecaLParker/airport_challenge/commit/81725b0b6ea475ac0f6e37152c4929e4bf692b87