Permalink
Browse files

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.
  • Loading branch information...
1 parent b08be7b commit 6e24ec0ee2f3dc871756b2e8a75fa2181ff504f4 @pelle committed Jan 14, 2011
@@ -73,8 +73,6 @@ def manifest
m.template 'client_applications.yml',File.join('spec/fixtures',"client_applications.yml")
m.template 'oauth_tokens.yml', File.join('spec/fixtures',"oauth_tokens.yml")
m.template 'oauth_nonces.yml', File.join('spec/fixtures',"oauth_nonces.yml")
- m.template 'controller_spec_helper.rb', File.join('spec/controllers', controller_class_path,"#{controller_file_name}_controller_spec_helper.rb")
- m.template 'controller_spec.rb',File.join('spec/controllers',controller_class_path,"#{controller_file_name}_controller_spec.rb")
m.template 'clients_controller_spec.rb',File.join('spec/controllers',controller_class_path,"#{controller_file_name}_clients_controller_spec.rb")
else
m.directory File.join('test')
@@ -87,8 +85,6 @@ def manifest
m.template 'client_applications.yml',File.join('test/fixtures',"client_applications.yml")
m.template 'oauth_tokens.yml', File.join('test/fixtures',"oauth_tokens.yml")
m.template 'oauth_nonces.yml', File.join('test/fixtures',"oauth_nonces.yml")
- m.template 'controller_test_helper.rb', File.join('test', controller_class_path,"#{controller_file_name}_controller_test_helper.rb")
- m.template 'controller_test.rb',File.join('test/functional',controller_class_path,"#{controller_file_name}_controller_test.rb")
m.template 'clients_controller_test.rb',File.join('test/functional',controller_class_path,"#{controller_file_name}_clients_controller_test.rb")
end
Oops, something went wrong. Retry.

1 comment on commit 6e24ec0

@mort
mort commented on 6e24ec0 Jul 2, 2011

The clients_controller template still references oauth_controller_spec_helper

Please sign in to comment.