Fix typos and misspellings

This commit is contained in:
hakeda 2014-12-05 06:45:23 +00:00
parent eb1acf2d8e
commit f1a4fcf190
3 changed files with 3 additions and 3 deletions

View File

@ -1917,7 +1917,7 @@ end
### Dealing with Date and Time
Sinatra offers a `time_for` helper method that generates a Time objectfrom the
Sinatra offers a `time_for` helper method that generates a Time object from the
given value. It is also able to convert `DateTime`, `Date` and similar classes:
``` ruby

View File

@ -307,7 +307,7 @@ class RoutingTest < Test::Unit::TestCase
assert_equal "format=", body
end
it 'does not concatinate params with the same name' do
it 'does not concatenate params with the same name' do
mock_app { get('/:foo') { params[:foo] } }
get '/a?foo=b'
assert_body 'a'

View File

@ -120,7 +120,7 @@ class TemplatesTest < Test::Unit::TestCase
end
end
it 'uses the default layout template if not really overriden' do
it 'uses the default layout template if not really overridden' do
with_default_layout do
render_app { render(:test, :hello, :layout => true) }
assert ok?