spec/testrbl_spec.rb in testrbl-0.7.0 vs spec/testrbl_spec.rb in testrbl-0.8.0

- old
+ new

@@ -518,9 +518,15 @@ write "test/c_test.rb", "puts 'DEF'" result = testrbl("--changed") result.should include "DEF" result.should_not include "ABC" end + + it "runs last commit when no files are changed" do + result = testrbl("--changed") + result.should include "ABC" + result.should include "BCD" + end end describe ".test_pattern_from_file" do def call(content, line) lines = content.split("\n").map{|l| l + "\n" }