Sha256: a7b5466dec1c76e18a09db4125e9386cde8a845224e121fb1d3d53eea39dba9f
Contents?: true
Size: 543 Bytes
Versions: 34
Compression:
Stored size: 543 Bytes
Contents
describe Ppl::Command::Version do before(:each) do @command = Ppl::Command::Version.new @input = Ppl::Application::Input.new @output = double(Ppl::Application::Output) end describe "#name" do it "should be 'version'" do @command.name.should eq "version" end end describe "#execute" do it "should show the version number" do @output.should_receive(:line) do |line| line.should include Ppl::Version end @command.execute(@input, @output).should eq true end end end
Version data entries
34 entries across 34 versions & 1 rubygems