X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..0d0498d303f36749cd48d8e6eadb1abafe3f828c:/test/controllers/oauth_clients_controller_test.rb diff --git a/test/controllers/oauth_clients_controller_test.rb b/test/controllers/oauth_clients_controller_test.rb index f32c6cf97..6bafa62cc 100644 --- a/test/controllers/oauth_clients_controller_test.rb +++ b/test/controllers/oauth_clients_controller_test.rb @@ -1,4 +1,4 @@ -require 'test_helper' +require "test_helper" class OauthClientsControllerTest < ActionController::TestCase fixtures :users, :client_applications @@ -84,7 +84,7 @@ class OauthClientsControllerTest < ActionController::TestCase :client_application => { :name => "Test Application" } - }, { :user => user } + }, { :user => user } end assert_response :success assert_template "new" @@ -96,7 +96,7 @@ class OauthClientsControllerTest < ActionController::TestCase :name => "Test Application", :url => "http://test.example.com/" } - }, { :user => user } + }, { :user => user } end assert_response :redirect assert_redirected_to oauth_client_path(:id => ClientApplication.find_by_name("Test Application").id) @@ -163,7 +163,7 @@ class OauthClientsControllerTest < ActionController::TestCase :name => "New Name", :url => nil } - }, { :user => user } + }, { :user => user } assert_response :success assert_template "edit" @@ -174,7 +174,7 @@ class OauthClientsControllerTest < ActionController::TestCase :name => "New Name", :url => "http://new.example.com/url" } - }, { :user => user } + }, { :user => user } assert_response :redirect assert_redirected_to oauth_client_path(:id => client.id) end