瀏覽代碼

Iteration C4.

master
Nils Dittberner 9 年之前
父節點
當前提交
1c4913e6b3
共有 1 個檔案被更改,包括 5 行新增1 行删除
  1. +5
    -1
      test/controllers/store_controller_test.rb

+ 5
- 1
test/controllers/store_controller_test.rb 查看文件

@@ -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

Loading…
取消
儲存