spec/cli_spec.rb in gem-search-0.0.2 vs spec/cli_spec.rb in gem-search-0.0.3

- old
+ new

@@ -39,11 +39,11 @@ factory_girl_rails (3.5.0) 39724 1238780 EOS end end - context 'with sort option: [vd]version_downloads' do + context 'with sort option: [v]version_downloads' do it "should display rubygems ordering by name" do capture(:stdout) { @cli.search('factory_girl', 'version_downloads') }.should == <<'EOS' NAME DL(ver) DL(all) -------------------------------------------------- -------- --------- factory_girl_rails (3.5.0) 39724 1238780 @@ -51,10 +51,10 @@ factory_girl (3.6.0) 541 2042859 EOS end end - context 'with sort option: [d]download' do + context 'with sort option: [a]download' do it "should display rubygems ordering by name" do capture(:stdout) { @cli.search('factory_girl', 'download') }.should == <<'EOS' NAME DL(ver) DL(all) -------------------------------------------------- -------- --------- factory_girl (3.6.0) 541 2042859 \ No newline at end of file