Skip to content

Commit ffcd959

Browse files
committed
removed comments and fixed indentation
1 parent 166670e commit ffcd959

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

spec/basic_sinatra_forms_spec.rb

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
describe App do
22

33
describe 'GET /newteam' do
4-
# before do
5-
# visit '/newteam'
6-
# end
7-
84
it 'sends a 200 status code' do
95
get '/newteam'
106
expect(last_response.status).to eq(200)
@@ -24,13 +20,13 @@
2420
end
2521

2622
describe 'POST /team' do
27-
it "displays the basketball team name in the browser" do
28-
visit '/newteam'
23+
it "displays the basketball team name in the browser" do
24+
visit '/newteam'
2925

30-
fill_in(:name, :with => "Bballers")
31-
click_button "submit"
32-
expect(page).to have_text("Team Name: Bballers")
33-
end
26+
fill_in(:name, :with => "Bballers")
27+
click_button "submit"
28+
expect(page).to have_text("Team Name: Bballers")
29+
end
3430

3531
it "displays the coach's name in the browser" do
3632
visit '/newteam'

0 commit comments

Comments
 (0)