Skip to content

Instantly share code, notes, and snippets.

@mpen
Created September 11, 2009 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpen/185227 to your computer and use it in GitHub Desktop.
Save mpen/185227 to your computer and use it in GitHub Desktop.
Rails specで警告 toplevel constant ... referenced by ... が出てテストが失敗するときに
# rspecで警告 toplevel constant ... referenced by ... が出てテストが失敗するときに
# ArticlesControllerとAdmin::ArticlesControllerがあると発生することがある
describe 'Admin::ArticlesController' do
controller_name 'Admin::Articles'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment