Commits

Takashi Takebayashi  committed 1de0bdb

fixes #1
Correction of test code.

  • Participants
  • Parent commits ec1294d

Comments (0)

Files changed (1)

File test/functional/issues_controller_test.rb

       get :show, :id => Issue.last.id
       assert_response :success
       assert_template 'show.rhtml'
-      assert_select "div[id='good_job'] link[type='text/css']"
+      assert_select "div[id='good_job'] link" do
+        assert_select "[type='text/css']"
+        assert_select "[href=?]", /.+good_job\.css.+/  # Contain good_job.css
+      end
       assert_select "div[id='good_job'] script[type='text/javascript']"
     end
   end