test/rails4.2/test/integration/url_helper_test.rb in cells-4.0.0.rc1 vs test/rails4.2/test/integration/url_helper_test.rb in cells-4.0.0
- old
+ new
@@ -31,6 +31,17 @@
# it do
# visit "/songs/1/edit"
# page.text.must_equal "http://www.example.com/songs/1"
# end
+
+
+end
+
+class AssetsHelperTest < ActionController::TestCase
+ tests SongsController
+
+ it do
+ get :with_image_tag
+ response.body.must_equal "<img src=\"/images/logo.png\" alt=\"Logo\" />"
+ end
end
\ No newline at end of file