lib/generators/admin/install/templates/test_unit/system/admin/users_test.rb in administration-zero-0.0.10 vs lib/generators/admin/install/templates/test_unit/system/admin/users_test.rb in administration-zero-0.0.11
- old
+ new
@@ -1,9 +1,9 @@
require "application_system_test_case"
class Admin::UsersTest < ApplicationSystemTestCase
setup do
- @admin_user = admin_sign_in_as(admin_users(:lazaro_nixon))
+ @admin_user = sign_in_admin_as(admin_users(:lazaro_nixon))
end
test "visiting the index" do
visit admin_users_url
assert_selector "h2", text: "Users"