Sha256: bfa8cb0c72e7daaad652c53ac62f10ec87f7b25bca97e388ef00cfb7d422c48b
Contents?: true
Size: 821 Bytes
Versions: 1
Compression:
Stored size: 821 Bytes
Contents
require 'spec_helper' describe Medlink::Interne do describe ":internes" do context "valid token" do before(:each) do VCR.use_cassette "internes" do @internes = @api.internes(first_name: "Julien", last_name: "Vibert") end end subject(:internes) { @internes } let(:interne) { @internes.first } it { expect(interne.ecn_ranking).to eq(1) } it { expect(interne.ecn_year).to eq(2015) } it { expect(interne.internat_end_year).to eq(2019) } it { expect(interne.first_name).to eq("Julien") } it { expect(interne.last_name).to eq("Vibert") } it { expect(interne.birthdate).to eq Date.new(1990, 7, 16) } it { expect(interne.speciality.name).to eq("oncologie") } it { expect(interne.city.name).to eq("Ile-de-France") } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
medlink-0.1.0 | spec/internes_spec.rb |