Sha256: 012129c1575ece9813462a26744d7c7f0f63fa6ff236851458b0815ef7e1f785
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
require "helper" describe VimGolf do it "provides VimGolf errors" do VimGolf::Error.should be end it "sets up VimGolf.ui" do VimGolf.ui.should be_an(VimGolf::UI) capture_stdout do VimGolf::CLI.start(["help"]) end VimGolf.ui.should be_an(VimGolf::CLI::UI) end it "provides a help prompt" do out = capture_stdout do VimGolf::CLI.start(["help"]) end out.should include("setup") out.should include("launch") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vimgolf-0.1.0 | spec/cli_spec.rb |