Sha256: a7eb773e81162543f6653a48fa41fd6559408b3c92461b1e0d85e4dbf25fbf5c
Contents?: true
Size: 844 Bytes
Versions: 62
Compression:
Stored size: 844 Bytes
Contents
require 'spec_helper' describe "Employee", "converting to xml" do before do @employee_a = Caren::Employee.new( :external_id => 1, :first_name => "Andre", :last_name => "Foeken", :bio => "Aap") @employee_b = Caren::Employee.new( :external_id => 2, :first_name => "Oscar", :last_name => "Foeken", :bio => "Noot") end it "should be able to convert a employee to valid xml" do @employee_a.should convert_to_valid_caren_xml end it "should be able to convert an array of employee to valid xml" do [@employee_a,@employee_b].should convert_to_valid_caren_array_xml end end
Version data entries
62 entries across 62 versions & 1 rubygems