Sha256: 4fb676940632076e073ed946ff253a1346f00392c3d1284510956c7f4fad3064
Contents?: true
Size: 624 Bytes
Versions: 6
Compression:
Stored size: 624 Bytes
Contents
require 'pione/test-helper' describe Pione::Command::PioneActionList do before do @cmd = Pione::Command::PioneActionList @dir = Location[File.dirname(__FILE__)] + ".." + "literate-action" + "data" end it "should show action names" do cmd = @cmd.new([(@dir + "D1.md").path.to_s]) res = Rootage::ScenarioTest.succeed(cmd) res.stdout.string.chomp.should == "Name1\nName2" end it "should show action names in compact form" do cmd = @cmd.new(["--compact", (@dir + "D1.md").path.to_s]) res = Rootage::ScenarioTest.succeed(cmd) res.stdout.string.chomp.should == "Name1 Name2" end end
Version data entries
6 entries across 6 versions & 1 rubygems