7d yrkz m3aya fe elklmten dol =D
now am creating tests for my stories, just need to make sure am on the
right track. =)
2.10 A user should be able to see a feed of stories from social
networks (filterable)
my test includes the following :- ( test for the model (unit test ))
assert user.has_social_network // create this method in users
controller/model
loop 3la elnetworks ely 3ndo w aget elfeed // 7d y2oly which model
3ndo elconnected social networks ?
test succeeded
2.11 A user should be able to filter the social networks he wants to
receive stories from
my test includes the following :- ( test for the view (functional test ))
call method that get stories from the selected feed
a get one story aw aloop 3lehom to get title_i_get , content_i_get w
a call this
assert_select 'title', "title_i_get"
assert_select 'content', "content_i_get"
test succeeded
2.27 Add Tumblr account to list of accounts and/or get data
unit test
73ml account, w ad5l elinfo register beta
ad5l elaccount fe Haccount
get feed
test succeeded
--
Essam Hafez
essamah...@gmail.com
+2 (0100) 1152697