rubocop
This commit is contained in:
parent
d40d2ff164
commit
e1f42aee0c
3 changed files with 19 additions and 20 deletions
|
|
@ -1,4 +1,4 @@
|
|||
require "application_system_test_case"
|
||||
require 'application_system_test_case'
|
||||
|
||||
class BrowsesTest < ApplicationSystemTestCase
|
||||
# test "visiting the index" do
|
||||
|
|
@ -7,14 +7,13 @@ class BrowsesTest < ApplicationSystemTestCase
|
|||
# assert_selector "h1", text: "Browse"
|
||||
# end
|
||||
|
||||
test "user can see home page" do
|
||||
test 'user can see home page' do
|
||||
visit root_path
|
||||
assert_text /This website lets you browse screenshots of [\d,]+ software packages/
|
||||
assert_text(/This website lets you browse screenshots of [\d,]+ software packages/)
|
||||
end
|
||||
|
||||
test "user can browse packages" do
|
||||
test 'user can browse packages' do
|
||||
visit packages_grid_path
|
||||
has_link? href: packages_grid_path(page: 2)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue