Week4

Ok. Thanks
Sent wirelessly from my BlackBerry device on the Bell network.
Envoyé sans fil par mon terminal mobile BlackBerry sur le réseau de Bell.

-----Original Message-----
From: brandoncc <notifications@github.com>
Date: Wed, 18 Jun 2014 21:19:06 
To: easante/myflix<myflix@noreply.github.com>
Reply-To: easante/myflix <reply@reply.github.com>
Cc: Emmanuel Asante<emmanuela.asante@gmail.com>
Subject: Re: [myflix] Week4 (#5)

> + 
> +
> +    click_link "Videos"
> +    find("a[href='/videos/#{video2.id}']").click
> +    click_link dan.full_name
> +    click_link "Follow"
> +    expect(current_url).to eq(people_url)
> +    expect(page).to have_content('People I Follow')
> +    expect(page).to have_content('Videos in Queue')
> +    expect(page).to have_content('Followers')
> +    expect(page).to have_content('Unfollow')
> +    expect(page).to have_content(mary.full_name)
> +    expect(page).to have_link(mary.full_name)
> +    expect(page).to have_content(mary.queue_items.count)
> +    expect(page).to have_content(mary.inverse_friends.count)
> +    expect(page).to have_css("a[href='/friendships/#{friendship.id}']")

Just be aware that when you have this many expectations, anything you change on the page is going to break the spec.  I am not saying you shouldn't do this...just be aware.

---
Reply to this email directly or view it on GitHub:
https://github.com/easante/myflix/pull/5/files#r13952974