Added Kate Swap files to the gitignore file

This commit is contained in:
Jez Caudle 2023-05-25 05:20:48 +01:00
parent c671cc2dc1
commit 498e6ee255
3 changed files with 6 additions and 5 deletions

6
.gitignore vendored
View File

@ -4,12 +4,12 @@
# or operating system, you probably want to add a global ignore instead: # or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global' # git config --global core.excludesfile '~/.gitignore_global'
**/.keep
**/.core
# Ignore bundler config. # Ignore bundler config.
/.bundle /.bundle
# Ignore Kate Swap files
*.kate-swp
# Ignore all logfiles and tempfiles. # Ignore all logfiles and tempfiles.
/log/* /log/*
/tmp/* /tmp/*

View File

@ -11,12 +11,13 @@ class DomainsControllerTest < ActionDispatch::IntegrationTest
assert_response :success assert_response :success
end end
test "should get index because we are logged in" do test "should get index because we are logged in" do
sign_in users(:bob)
get domains_url get domains_url
assert_response :success assert_response :success
end end
test "should get new" do test "should not get new" do
get new_domain_url get new_domain_url
assert_response :success assert_response :success
end end