Permalink
Browse files

fix actionview and activemodel test cases typos

  • Loading branch information...
1 parent dfd7454 commit e21a18bed0b1246ca660c1ffe4d8be8c7fd1b213 Rajarshi Das committed Sep 5, 2013
@@ -194,7 +194,7 @@ def with_collection_check_boxes(*args, &block)
assert_select 'label[for=user_active_no]', 'No'
end
- test 'colection check box should sanitize collection values for labels correctly' do
+ test 'collection check box should sanitize collection values for labels correctly' do
with_collection_check_boxes :user, :name, ['$0.99', '$1.99'], :to_s, :to_s
assert_select 'label[for=user_name_099]', '$0.99'
assert_select 'label[for=user_name_199]', '$1.99'
@@ -198,7 +198,7 @@ def @contact.as_json(options); { name: name, created_at: created_at }; end
assert_no_match %r{"preferences":}, json
end
- test "custom as_json options should be extendible" do
+ test "custom as_json options should be extensible" do
def @contact.as_json(options = {}); super(options.merge(only: [:name])); end
json = @contact.to_json

0 comments on commit e21a18b

Please sign in to comment.