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 934c1e8..0000000 Binary files a/test/controllers/.domains_controller_test.rb.kate-swp and /dev/null differ 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