Skip to content

Commit 6e24ec0

Browse files
committed
got rid of oauth_controller_spec and it's spec helpers.
The goal is to test as much as possible in the gem so it's less intrusive in your apps.
1 parent b08be7b commit 6e24ec0

File tree

11 files changed

+0
-2670
lines changed

11 files changed

+0
-2670
lines changed

generators/oauth_provider/oauth_provider_generator.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ def manifest
7373
m.template 'client_applications.yml',File.join('spec/fixtures',"client_applications.yml")
7474
m.template 'oauth_tokens.yml', File.join('spec/fixtures',"oauth_tokens.yml")
7575
m.template 'oauth_nonces.yml', File.join('spec/fixtures',"oauth_nonces.yml")
76-
m.template 'controller_spec_helper.rb', File.join('spec/controllers', controller_class_path,"#{controller_file_name}_controller_spec_helper.rb")
77-
m.template 'controller_spec.rb',File.join('spec/controllers',controller_class_path,"#{controller_file_name}_controller_spec.rb")
7876
m.template 'clients_controller_spec.rb',File.join('spec/controllers',controller_class_path,"#{controller_file_name}_clients_controller_spec.rb")
7977
else
8078
m.directory File.join('test')
@@ -87,8 +85,6 @@ def manifest
8785
m.template 'client_applications.yml',File.join('test/fixtures',"client_applications.yml")
8886
m.template 'oauth_tokens.yml', File.join('test/fixtures',"oauth_tokens.yml")
8987
m.template 'oauth_nonces.yml', File.join('test/fixtures',"oauth_nonces.yml")
90-
m.template 'controller_test_helper.rb', File.join('test', controller_class_path,"#{controller_file_name}_controller_test_helper.rb")
91-
m.template 'controller_test.rb',File.join('test/functional',controller_class_path,"#{controller_file_name}_controller_test.rb")
9288
m.template 'clients_controller_test.rb',File.join('test/functional',controller_class_path,"#{controller_file_name}_clients_controller_test.rb")
9389
end
9490

0 commit comments

Comments
 (0)