Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added a deferred_server file fixed tests

  • Loading branch information...
commit 9e0ae5ec3fed295d19ebd781c2b8c57bb855e829 1 parent 72284b2
@danmayer authored
View
1  .deferred_server
@@ -0,0 +1 @@
+RAILS_ENV=development bundle install && bundle exec rake && bundle exec rake churn
View
7 Gemfile
@@ -7,4 +7,9 @@ gem 'erubis'
gem 'sinatra', '1.0'
gem 'rdiscount'
gem 'maruku'
-gem 'thin'
+gem 'thin'
+
+group :development, :test do
+ gem "rack-test", '0.5.3'
+ gem "launchy"
+end
View
7 Gemfile.lock
@@ -1,9 +1,12 @@
GEM
remote: https://rubygems.org/
specs:
+ addressable (2.3.2)
daemons (1.1.9)
erubis (2.7.0)
eventmachine (1.0.0)
+ launchy (2.1.2)
+ addressable (~> 2.3)
less (1.2.20)
mutter (>= 0.4.2)
treetop (>= 1.4.2)
@@ -12,6 +15,8 @@ GEM
mutter (0.5.3)
polyglot (0.3.3)
rack (1.4.1)
+ rack-test (0.5.3)
+ rack (>= 1.0)
rake (0.9.2.2)
rdiscount (1.6.8)
sinatra (1.0)
@@ -30,8 +35,10 @@ PLATFORMS
DEPENDENCIES
erubis
+ launchy
less (= 1.2.20)
maruku
+ rack-test (= 0.5.3)
rake
rdiscount
sinatra (= 1.0)
View
4 test/rack/resume_test.rb
@@ -15,7 +15,7 @@ def app
def test_title_matches_user
get '/'
assert last_response.ok?
- assert_match "<title>Dan Mayer's Resume</title>", last_response.body
+ assert_match "<title>Daniel Mayer </title>", last_response.body
end
def test_it_includes_a_email
@@ -41,7 +41,7 @@ def test_it_supports_linked_formats
assert_match "LaTeX", last_response.body
assert_match "Markdown", last_response.body
end
-
+
def test_it_displays_powered_by
get '/'
assert_match "powered by", last_response.body
Please sign in to comment.
Something went wrong with that request. Please try again.