TIY-DC-ROR-2015-Jan / course-notes

Syllabus, notes, and more for the class
0 stars 3 forks source link

Showtime #217

Open jamesdabbs opened 9 years ago

jamesdabbs commented 9 years ago

Due on Mar 12 @ 10:00am Build a small but well-tested portion of a movie rental and streaming Rails app

Objectives

Learning Objectives

A repo containing a Rails app with:

Any of:

Any of:

msmukherji commented 9 years ago

https://github.com/msmukherji/showtime-with-tests

(haven't done cancancan stuff yet)

jamesdabbs commented 9 years ago

Nice work, and excellent test coverage! :star2:

A few notes:

when "r", "nc-17", "unrated"
  age >= 17
when "pg-13"
  age >= 13
else
  true
end

In general, movie ratings seem like a good place to extract a value object