From 498e6ee255a35fa51da20021b67b9236f63c14c4 Mon Sep 17 00:00:00 2001 From: Jez Caudle Date: Thu, 25 May 2023 05:20:48 +0100 Subject: [PATCH] Added Kate Swap files to the gitignore file --- .gitignore | 6 +++--- .../.domains_controller_test.rb.kate-swp | Bin 232 -> 0 bytes test/controllers/domains_controller_test.rb | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 test/controllers/.domains_controller_test.rb.kate-swp diff --git a/.gitignore b/.gitignore index ff8c9d7..82e79d0 100644 --- a/.gitignore +++ b/.gitignore @@ -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/* diff --git a/test/controllers/.domains_controller_test.rb.kate-swp b/test/controllers/.domains_controller_test.rb.kate-swp deleted file mode 100644 index 934c1e841d6c23e115f10ba89b217626b02d0535..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 232 zcmZQzU=Z?7EJ;-eE>A2_aLdd|RWQ;sU|?Vn34Xp`CiwZ$J)7S&HEfPzmD|EG**Z8J zD8mcH=AJ-;4~Rj4O#uvCgJFVfKtbW+%=EnY%shqC;?$yI4XdR5Bu&@gAfOCLKM1gZ gl*2eo3JMTekfBUK%uFU1sFi^U<`58v1>`ta0961XjQ{`u diff --git a/test/controllers/domains_controller_test.rb b/test/controllers/domains_controller_test.rb index 53e7bf1..902e221 100644 --- a/test/controllers/domains_controller_test.rb +++ b/test/controllers/domains_controller_test.rb @@ -11,12 +11,13 @@ class DomainsControllerTest < ActionDispatch::IntegrationTest assert_response :success 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 assert_response :success end - test "should get new" do + test "should not get new" do get new_domain_url assert_response :success end