spec/support/stub.rb in rails-timeago-1.2.0.rc3 vs spec/support/stub.rb in rails-timeago-1.3.0

- old
+ new

@@ -9,6 +9,10 @@ end def time_ago_in_words(time) "%time_ago_in_words%" end + + def javascript_include_tag(path) + "<script src=\"#{path}\"></script>" + end end