Skip to content

Commit

Permalink
Merge pull request #19 from learn-co-curriculum/fix-broken-challenge
Browse files Browse the repository at this point in the history
Fix broken challenge
  • Loading branch information
sgharms authored Jan 9, 2018
2 parents a659aa6 + c1146ea commit b5f5ef6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

## Overview

In this lab, you'll practice building forms in Sinatra by creating a basketball team sign-up sheet. Your application will have a basic html form, and will display the data from the form after it has been submitted by the user.
In this lab, you'll practice building forms in Sinatra by creating a basketball
team sign-up sheet. Your application will have a basic html form, and will
display the data from the form after it has been submitted by the user.

## Instructions

Expand Down Expand Up @@ -31,7 +33,7 @@ In this lab, you'll practice building forms in Sinatra by creating a basketball

Create a route that responds to a POST request at `/team`
Have the form send a POST request to this route.
Upon submission, pass the submitted data to the `team.erb` template.
Upon submission, pass the submitted data to the `team.erb` template.

5. Final Output

Expand All @@ -46,6 +48,7 @@ In this lab, you'll practice building forms in Sinatra by creating a basketball
Pass the tests! Make sure you read the test output carefully!

## Resources

* [Ashley William's GitHub](https://github.com/ashleygwilliams/) - [Sinatra Form Party](https://github.com/ashleygwilliams/sinatra-form-party)

* [Ashley William's GitHub](https://github.com/ashleygwilliams/) - [Citibike Sinatra](https://github.com/ashleygwilliams/citibike-sinatra)
Expand Down
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
require_relative '../config/environment'
require 'rack/test'
require 'capybara/poltergeist'
require 'capybara/dsl'

Capybara.javascript_driver = :poltergeist

Expand All @@ -15,4 +16,4 @@ def app
Rack::Builder.parse_file('config.ru').first
end

Capybara.app = app
Capybara.app = app

0 comments on commit b5f5ef6

Please sign in to comment.