???????????????????
???????????? ???????[ 2011/10/11 11:49:39 ] ????????
????Cucumber?????
??????????????????????????浵???????????????????????Cucumber??????????????????????
Feature??archive old record
As a admin
I want to archive old records
So that I can keep my current records list small and clean
Scenario: archive old record
Given 1 record "A" with date "2011-03-07"
And 1 record "B" with date "2011-03-17"
When I run "old record archive"
Then system should move record "A" into archive forlder
?????????????裬??Given 1 record "A" with date "2011-03-07"????д??????ruby?????磺
/Given 1 record "" with date ""/ do |id?? date|
create_record("id"=>id?? "date"=>date)
#?????create_record??????2?Σ?????β?????A?? 2011-03-07??????β?????B??2011-03-17
end
/When I run ""/ do |cmd|
system(cmd)
#?????system?????????????old record archive
end
/Then system should move record "" into archive folder/ do |record|
search_record_in_archive_folder(record).should == true
#?????search_record_in_archive_folder???????record???A"
end
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11