Slide 40
Slide 40 text
# spec/twitter_wrangler/roles/tweeting_patient_spec.rb
describe TweetingPatient do
let(:patient) { mock() }
before do
patient.stubs({body_mass_index: 27,
percent_of_body_mass_index_goal: “95%”
body_mass_index_goal: 25
})
patient.extend TweetingPatient
end
it ‘asserts some fantastic things’ do
#GLORIOUS SPECS
end
end
Thursday, May 3, 12