spec/requests/labs_spec.rb in medivo-0.2.11 vs spec/requests/labs_spec.rb in medivo-0.2.12
- old
+ new
@@ -71,10 +71,10 @@
describe "making appointments" do
before do
@lab_code = "20060"
@time = Time.parse("2011-11-01 8:30 AM UTC")
- @user = {first_name: 'dude', last_name: 'man', date_of_birth: '12/28/1980',
+ @user = {first_name: 'dude', last_name: nil, date_of_birth: '12/28/1980',
email_address: 'dudeman@dude.com', phone_number: '4155551212'}
@params = { lab_code: @lab_code, time: @time, user: @user }
end
let(:path) { Medivo::Engine.routes.url_helpers.make_appointment_labs_path }