2014/12/22分のコミットです。
CHANGELOGへの追加はありませんでした。
rails guideのA Guide to Testing Rails Applications
の修正です。
"who's" -> "whose"に修正しています。
Clarify ActiveRecord testing guidelines [ci skip]
activerecord/RUNNING_UNIT_TESTS.rdoc
、
guides/source/contributing_to_ruby_on_rails.md
の修正です。
rdocの方はテスト用のタスクのタスク名に誤りがあったのを修正、guideの方は、Testing Active Record
の項の最初で、テスト用DBを作るよう説明を追加しています。
README.md
の修正です。
travis のbuild statusを表すbadgeの前に、不要な"*"があったのを削除しています。
Remove unused Sheep fixture from AV
actionview/test/lib/controller/fake_models.rb
、
actionview/test/template/record_identifier_test.rb
の修正です。
使用していないテスト用のクラスを削除しています。
bin/rake
does not exist in plugin directory [ci skip]
rails guideのThe Basics of Creating Rails Plugins
の修正です。
pluginのrdocについて説明している箇所で、存在しないbin/rake
コマンドを指定している箇所があったので、bundle exec rake
に修正しています。
railties/lib/rails/generators/rails/app/app_generator.rb
の修正です。
:nodoc:
をタイポしている箇所があったのを修正しています。
Fix inaccurate docs in active_model errors [ci skip]
activemodel/lib/active_model/errors.rb
のdocの修正です。
ActiveModel::Errors#add
メソッドのexampleに、現状の仕様とあってない箇所があったのを修正しています。
# before person.errors.add(:name, nil) # => ["is invalid"] # after person.errors.add(:name, nil) # => [nil]
挙動の変更の対応はこちら。2013/06なので、大分前ですねえ。
Better explain what test_helper.rb
is designed for [ci skip]
rails guideのA Guide to Testing Rails Applications
の修正です。
test_helper.rb
についての説明を改善しています。
We may only look at some of the methods available from TestCase [ci skip]
rails guideのA Guide to Testing Rails Applications
の修正です。
Unit Testing your Models
の項のグラマーの修正を行っています。
Better explain how test() methods get defined and kill this run-on sentence.
rails guideのA Guide to Testing Rails Applications
の修正です。
test_xxx
メソッドについて説明している箇所を改善しています。
Removed run-on sentence and replace with sectional comments [ci skip]
rails guideのA Guide to Testing Rails Applications
の修正です。
Unit Testing your Models
の項のグラマーの修正を行っています。
Fix NOTE for method naming in Ruby and add intro sentence to next section.
rails guideのA Guide to Testing Rails Applications
の修正です。
Rubyのメソッド命名規約について説明している箇所の改善を行っています。
Remove duplicate description of the previous line [ci skip]
rails guideのA Guide to Testing Rails Applications
の修正です。
Unit Testing your Models
の修正です。
説明が重複している箇所があったのを削除しています。
Better explain number of assertions per test [ci skip]
rails guideのA Guide to Testing Rails Applications
の修正です。
テストに含まれるassertionについて記載している箇所の説明を改善しています。
s/a unobtrusive/an unobtrusive [ci skip]
rails guideのRuby on Rails Security Guide
の修正です。
"a unobtrusive" -> "an unobtrusive"に修正しています。
Correctly handle Float -> BigDecimal with unspecified precision
activerecord/lib/active_record/type/decimal.rb
の修正です。
precisionを指定していない場合に、Float -> BigDecimalの変換処理が正しく行われないバグがあったのを修正しています。
document the return of db:test:prepare
. Closes #18136. [ci skip]
rails guideのA Guide to Testing Rails Applications
の修正です。
Maintaining the test database schema
の項に、pending migrationのエラーが起きた際、開発用DBにはbin/rake db:migrate
を、テスト用のDBにはbin/rake db:test:prepare
を実行するよう説明を追加してます。
s/are edited and rerun/required modifications [ci skip]
rails guideのA Guide to Testing Rails Applications
の修正です。
上記追加した説明のグラマーの修正を行っています。