search for: staffinfo

Displaying 1 result from an estimated 1 matches for "staffinfo".

2014 Feb 11
0
Cucumber test question
...tion for empty shirt size Given there is at least 1 staff info record When the shirt size field is empty And the shirt size check is run Then the system should send an email notification Steps: Given(/^there is at least (\d+) staff info record$/) do |arg1| assert_difference('StaffInfo.count', 1) do @staff_info = FactoryGirl.create :staff_info end end When(/^the shirt size field is empty$/) do assert @staff_info.update_attribute(:shirt_size, nil) end When(/^the shirt size check is run$/) do StaffInfo.check_empty_shirt_fields end Then(/^the system should send an e...