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:
# git config --global core.excludesfile '~/.gitignore_global'
**/.keep
**/.core
# Ignore bundler config.
/.bundle
# Ignore Kate Swap files
*.kate-swp
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*

View File

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