Fix typo in view name

Introduced in 2c22376fe04b89e8f34620139720b85a85ce3428
fix warnings in railties test
Merge pull request #10082 from vipulnsward/fix_railties_test-v2

fix warnings in railties test