spec/command-task.rb in mattock-0.4.1 vs spec/command-task.rb in mattock-0.5.0

- old
+ new

@@ -25,9 +25,13 @@ t.verify_command = Mattock::CommandLine.new("should_do") end end end + it "should inspect cleanly" do + rake["test:run"].inspect.should be_a(String) + end + describe "when verification indicates command should proceed" do it "should run both commands" do expect_command(/should_do/, 1) expect_command(/^ssh.*cd.*ls.*grep.*rubyfiles.txt/, 0)