All the little details
This commit is contained in:
@@ -22,6 +22,10 @@ describe Employee do
|
||||
employee.enrich_with_settings supplier.settings_for(employee)
|
||||
end
|
||||
|
||||
it 'responds to defaults without full initialization (yes this test is needed)' do
|
||||
Employee.new.manager?.should be false
|
||||
end
|
||||
|
||||
it 'responds to defaults' do
|
||||
employee.manager?.should be false
|
||||
employee.active?.should be true
|
||||
|
||||
Reference in New Issue
Block a user