Permalink
Browse files

push test

  • Loading branch information...
1 parent 4044864 commit 8b870fffca7cf179a97f3fc8c379c283cc58ef6f @sfckemp committed Jul 1, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/web_test.rb
  2. +1 −1 web.rb
View
@@ -9,6 +9,6 @@ class MySimpleTest < Test::Unit::TestCase
def test_basic
browser = Rack::Test::Session.new(Rack::MockSession.new(Sinatra::Application))
browser.get '/', :name => 'Brad'
- assert_equal 'Hello, Brad!', browser.last_response.body
+ assert_equal 'Hello, Brad.', browser.last_response.body
end
end
View
2 web.rb
@@ -2,6 +2,6 @@
require 'sinatra'
get '/' do
- "Hello, #{params[:name]}!"
+ "Hello, #{params[:name]}."
end

0 comments on commit 8b870ff

Please sign in to comment.