test/buildmaster/templatelets/tc_when.rb in BuildMaster-0.8.0 vs test/buildmaster/templatelets/tc_when.rb in BuildMaster-0.8.1
- old
+ new
@@ -43,17 +43,17 @@
def path
return Pathname.new('index.html')
end
def expression_for_true(path)
- return true
+ return 'word two' =~ /word/
end
def expression_for_false(path)
- return false
+ return 'one word two' =~ /nomatch/
end
def load_templatelets
return Hash.new
end
end
-end
\ No newline at end of file
+end