Permalink
Browse files

Merge pull request #308 from funkydrummer/master

typo in test/class_methods_test.rb
  • Loading branch information...
joelmoss committed Aug 20, 2013
2 parents c8af8cf + dd403f9 commit fdc9de6ca213ab8f3b97f37e5d071363198e018a
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/class_methods_test.rb
@@ -148,7 +148,7 @@ def test_belongs_to_for_namespaced_controller_and_namespaced_model_fetches_model
assert_equal Library::Category, Library::SubcategoriesController.resources_configuration[:category][:parent_class]
end
- def test_belongs_to_without_namesoace_sets_parent_class_properly
+ def test_belongs_to_without_namespace_sets_parent_class_properly
FoldersController.send(:belongs_to, :book)
assert_equal Book, FoldersController.resources_configuration[:book][:parent_class]
end

0 comments on commit fdc9de6

Please sign in to comment.