SHIMADA Koji
null+****@clear*****
Wed Nov 14 11:21:34 JST 2012
SHIMADA Koji 2012-11-14 11:21:34 +0900 (Wed, 14 Nov 2012) New Revision: f6fcf5545731dd39de3d30dc84b22dc9063b1c8a https://github.com/logaling/logaling-command/commit/f6fcf5545731dd39de3d30dc84b22dc9063b1c8a Log: Remove unnessesary 'sleep' in specs Modified files: spec/logaling/command_spec.rb spec/logaling/glossary_spec.rb spec/logaling/repository_spec.rb Modified: spec/logaling/command_spec.rb (+0 -1) =================================================================== --- spec/logaling/command_spec.rb 2012-11-13 08:59:33 +0900 (9fba53a) +++ spec/logaling/command_spec.rb 2012-11-14 11:21:34 +0900 (39e6cf0) @@ -83,7 +83,6 @@ describe Logaling::Command::Application do describe '#register' do before do - sleep(1) @n_projects = Dir[File.join(logaling_home, "projects", "*")].size end Modified: spec/logaling/glossary_spec.rb (+0 -2) =================================================================== --- spec/logaling/glossary_spec.rb 2012-11-13 08:59:33 +0900 (749093b) +++ spec/logaling/glossary_spec.rb 2012-11-14 11:21:34 +0900 (fed5e15) @@ -107,8 +107,6 @@ module Logaling before do glossary.add("delete_logaling", "てすと1", "備考") glossary.add("delete_logaling", "てすと2", "備考") - # in order to index certainly - sleep(1) glossary.delete("delete_logaling", "てすと1") repository.index @result = repository.lookup("delete_logaling", glossary) Modified: spec/logaling/repository_spec.rb (+0 -2) =================================================================== --- spec/logaling/repository_spec.rb 2012-11-13 08:59:33 +0900 (057c10a) +++ spec/logaling/repository_spec.rb 2012-11-14 11:21:34 +0900 (ad87845) @@ -145,8 +145,6 @@ module Logaling File.open(glossary_source_path, 'w') do |f| YAML.dump([], f) end - # in order to index certainly - sleep(1) glossary.add("spec_logaling", "スペック", "備考") repository.index @terms = repository.lookup("spec_logaling", glossary) -------------- next part -------------- An HTML attachment was scrubbed... 다운로드