This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module TimeInWords | |
CONVERSIONS = | |
[ [:seconds, :years, 31556952], # the average year in the Gregorian calendar | |
[:seconds, :minutes, 60], | |
[:minutes, :hours, 60], | |
[:hours, :days, 24], | |
[:days, :weeks, 7] ] | |
UNIT_NAMES = | |
[ [:years, "year", "years" ], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.expand_path(File.dirname(__FILE__) + '/../acceptance_helper') | |
feature "Approve", %q{ | |
In order to manage workloads and the placement of material | |
As a manager | |
I want to approve studies and assign them to archivists | |
} do | |
background do | |
create_user 'Alice' |
NewerOlder