spec/strings_spec.rb in knjrbfw-0.0.75 vs spec/strings_spec.rb in knjrbfw-0.0.77

- old
+ new

@@ -22,6 +22,11 @@ raise "Expected res to be false but it wasnt." if res res = Knj::Strings.is_regex?("/^Kasper$/") raise "Expected res to be true but it wasnt." if !res end + + it "secs_to_human_time_str" do + res = Knj::Strings.secs_to_human_time_str(3695) + raise "Expected '01:01:35' but got: '#{res}'." if res != "01:01:35" + end end \ No newline at end of file