Skip to content

Commit

Permalink
got rid of oauth_controller_spec and it's spec helpers.
Browse files Browse the repository at this point in the history
The goal is to test as much as possible in the gem so it's less
intrusive in your apps.
  • Loading branch information
pelle committed Jan 14, 2011
1 parent b08be7b commit 6e24ec0
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 2,670 deletions.
4 changes: 0 additions & 4 deletions generators/oauth_provider/oauth_provider_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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

Expand Down
Loading

1 comment on commit 6e24ec0

@mort
Copy link

@mort mort commented on 6e24ec0 Jul 2, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The clients_controller template still references oauth_controller_spec_helper

Please sign in to comment.