Parcourir la source

Iteration C4.

master
Nils Dittberner il y a 9 ans
Parent
révision
1c4913e6b3
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. +5
    -1
      test/controllers/store_controller_test.rb

+ 5
- 1
test/controllers/store_controller_test.rb Voir le fichier

@@ -4,6 +4,10 @@ class StoreControllerTest < ActionDispatch::IntegrationTest
test "should get index" do
get store_index_url
assert_response :success
assert_select '#columns #side a', minimum: 2
assert_select '#main .entry', 3
assert_select 'h3', 'Programming Ruby 1.9'
assert_select '.price', /\$[,\d]+\.\d\d/
end

end

Chargement…
Annuler
Enregistrer