null+****@clear*****
null+****@clear*****
Mon Feb 6 15:12:29 JST 2012
SUZUKI Miho 2012-02-06 15:12:29 +0900 (Mon, 06 Feb 2012) New Revision: bb7922476925f3649c87c33db9b7fd192ebae365 Log: add 'output' option before lookup Modified files: spec/logaling/command_spec.rb Modified: spec/logaling/command_spec.rb (+1 -1) =================================================================== --- spec/logaling/command_spec.rb 2012-02-02 12:21:23 +0900 (cbbbcf7) +++ spec/logaling/command_spec.rb 2012-02-06 15:12:29 +0900 (2b6d5a3) @@ -334,13 +334,13 @@ describe Logaling::Command::Application do describe '#lookup' do before do stop_pager + command.options = base_options.merge("output" => "terminal") command.new('spec', 'en', 'ja') command.add("spec", "スペック", "備考") end context 'with arguments exist term' do before do - stop_pager @stdout = capture(:stdout) {command.lookup("spec")} end