spec/base_spec.rb in cinnamon_serial-1.0.1 vs spec/base_spec.rb in cinnamon_serial-2.0.0
- old
+ new
@@ -22,13 +22,11 @@
user_name
other_id
manager_name
renewal_date
notify_date
- true_value
true_alias_value
- false_value
false_alias_value
null
present
blank
manager
@@ -94,12 +92,10 @@
expect(data['other_id']).to eq(matt.id)
expect(data['manager_name']).to eq(nick.name)
expect(data['renewal_date']).to eq(matt.start_date + (60 * 60 * 24 * 24))
expect(data['notify_date']).to eq(matt.start_date + (60 * 60 * 24 * 23))
- expect(data['true_value']).to eq('I am true.')
expect(data['true_alias_value']).to eq('I am true alias.')
- expect(data['false_value']).to eq('I am false.')
expect(data['false_alias_value']).to eq('I am false alias.')
expect(data['null']).to eq('I am null.')
expect(data['present']).to eq('I am present.')
expect(data['blank']).to eq('I am blank.')
expect(data['manager']).to be_a_kind_of(EmployeeSerializer)