test/test_helpers.rb in frank-0.2.0 vs test/test_helpers.rb in frank-0.2.1
- old
+ new
@@ -41,10 +41,10 @@
assert_match reg, template
end
should 'render image url using imager' do
template = @frank.render_path('lorem_test.haml')
- reg = /<img src='\/_img\/400x300.jpg\?random' \/>/
+ reg = /<img src='\/_img\/400x300.jpg\?random\d{5}' \/>/
assert_match reg, template
end
end
end
\ No newline at end of file