Skip to content

Commit

Permalink
Fix typos in repository [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
davydovanton committed Dec 19, 2015
1 parent 2404e74 commit 1b5372d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/lotus/lotusrc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Lotusrc
TEMPLATE_KEY => DEFAULT_TEMPLATE
}).symbolize!.freeze

# Initialize Lotusrc class with application's root and enviroment options.
# Initialize Lotusrc class with application's root and environment options.
#
# @param root [Pathname] Application's root
#
Expand Down
6 changes: 3 additions & 3 deletions test/integration/body_parsers_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ def request
last_request
end

it 'is successfuly parsing a JSON body' do
it 'is successfully parsing a JSON body' do
post '/json_parser', %({"success": "ok"}), { 'CONTENT_TYPE' => 'application/json' }

response.body.must_equal 'ok'
end

it 'is successfuly parsing a XML body' do
it 'is successfully parsing a XML body' do
patch '/xml_parser', %(<success>ok</success>), { "CONTENT_TYPE" => "application/xml" }

response.body.must_equal 'ok'
end

it 'is successfuly parsing a XML aliased mime' do
it 'is successfully parsing a XML aliased mime' do
patch '/xml_parser', %(<success>ok</success>), { 'CONTENT_TYPE' => 'text/xml' }

response.body.must_equal 'ok'
Expand Down

0 comments on commit 1b5372d

Please sign in to comment.