diff options
author | Xavier Noria <fxn@hashref.com> | 2011-07-27 01:11:31 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-07-27 01:11:31 -0700 |
commit | 46b8261830d25d444a95e496e5f8becc27df76cc (patch) | |
tree | 7af3962d3d1f2d0aafca7b0b34db6a264377429b | |
parent | 0b987042bf611330609304a22465d0f30f026076 (diff) | |
parent | 7e1328464518e6cd85ab8a3c413bf811c87ffa48 (diff) | |
download | rails-46b8261830d25d444a95e496e5f8becc27df76cc.tar.gz rails-46b8261830d25d444a95e496e5f8becc27df76cc.tar.bz2 rails-46b8261830d25d444a95e496e5f8becc27df76cc.zip |
Merge pull request #2296 from lsylvester/typo
fix some typos
-rw-r--r-- | activeresource/test/cases/base/schema_test.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/activeresource/test/cases/base/schema_test.rb b/activeresource/test/cases/base/schema_test.rb index 48fdeb13df..d29eaf5fb6 100644 --- a/activeresource/test/cases/base/schema_test.rb +++ b/activeresource/test/cases/base/schema_test.rb @@ -139,7 +139,7 @@ class SchemaTest < ActiveModel::TestCase assert_nothing_raised { Person.schema = new_schema assert_equal new_schema, Person.schema, "should have saved the schema on the class" - assert_equal new_schema, Person.new.schema, "should have mde the schema available to every instance" + assert_equal new_schema, Person.new.schema, "should have made the schema available to every instance" } end @@ -283,8 +283,8 @@ class SchemaTest < ActiveModel::TestCase new_attr_name_two = :another_new_schema_attribute assert Person.schema.blank?, "sanity check - should have a blank class schema" - assert !Person.new.respond_do?(new_attr_name), "sanity check - should not respond to the brand-new attribute yet" - assert !Person.new.respond_do?(new_attr_name_two), "sanity check - should not respond to the brand-new attribute yet" + assert !Person.new.respond_to?(new_attr_name), "sanity check - should not respond to the brand-new attribute yet" + assert !Person.new.respond_to?(new_attr_name_two), "sanity check - should not respond to the brand-new attribute yet" assert_nothing_raised do Person.schema = {new_attr_name.to_s => 'string'} @@ -301,8 +301,8 @@ class SchemaTest < ActiveModel::TestCase assert Person.schema.blank?, "sanity check - should have a blank class schema" - assert !Person.new.respond_do?(new_attr_name), "sanity check - should not respond to the brand-new attribute yet" - assert !Person.new.respond_do?(new_attr_name_two), "sanity check - should not respond to the brand-new attribute yet" + assert !Person.new.respond_to?(new_attr_name), "sanity check - should not respond to the brand-new attribute yet" + assert !Person.new.respond_to?(new_attr_name_two), "sanity check - should not respond to the brand-new attribute yet" assert_nothing_raised do Person.schema { string new_attr_name_two } |