test/unit/clip_test.rb in kinney-0.0.1 vs test/unit/clip_test.rb in kinney-0.0.2
- old
+ new
@@ -54,9 +54,14 @@
clip.people << kinney_people(:third_man)
clip.save
clip.reload
assert_equal "Third Man, Edward Norris Tolson, and William Williams", clip.full_people_names
end
+
+ test "clip should return title with full people names" do
+ clip = kinney_clips(:tolson_roots)
+ assert_equal "Growing Up in Edgecombe County with Edward Norris Tolson", clip.title_with_full_people_names
+ end
test "clip should return the full URL for the poster image" do
assert_equal "http://siskel.lib.ncsu.edu/SLI/tolson/tolson-roots/tolson-roots.png",
kinney_clips(:tolson_roots).png
end