1 只测试匹配到的字符串涉及的specsrspec -e expect(page).to have_content
2 只测试指定文件rspec spec/requests/static_pages_spec.rb
3 指定文件并指定字符串rspec spec/requests/static_pages_spec.rb -e expect(page).to have_content