Fix typos and misspellings
This commit is contained in:
parent
eb1acf2d8e
commit
f1a4fcf190
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue