Skip to content

Commit 6612f1a

Browse files
committed
Merge pull request #5 from learn-co-curriculum/wip
fix indentation
2 parents cb67435 + d7fd73d commit 6612f1a

1 file changed

Lines changed: 36 additions & 36 deletions

File tree

spec/basic_sinatra_forms_spec.rb

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -28,59 +28,59 @@
2828
expect(page).to have_text("Team Name: Bballers")
2929
end
3030

31-
it "displays the coach's name in the browser" do
32-
visit '/newteam'
31+
it "displays the coach's name in the browser" do
32+
visit '/newteam'
3333

34-
fill_in(:coach, :with => "Walter")
35-
click_button "submit"
34+
fill_in(:coach, :with => "Walter")
35+
click_button "submit"
3636

37-
expect(page).to have_text("Coach: Walter")
38-
end
37+
expect(page).to have_text("Coach: Walter")
38+
end
3939

40-
it "displays the point guard's name in the browser" do
41-
visit '/newteam'
40+
it "displays the point guard's name in the browser" do
41+
visit '/newteam'
4242

43-
fill_in(:pg, :with => "Jeff")
44-
click_button "submit"
43+
fill_in(:pg, :with => "Jeff")
44+
click_button "submit"
4545

46-
expect(page).to have_text("Point Guard: Jeff")
47-
end
46+
expect(page).to have_text("Point Guard: Jeff")
47+
end
4848

49-
it "displays the shooting guard's name in the browser" do
50-
visit '/newteam'
49+
it "displays the shooting guard's name in the browser" do
50+
visit '/newteam'
5151

52-
fill_in(:pg, :with => "Ralph")
53-
click_button "submit"
52+
fill_in(:pg, :with => "Ralph")
53+
click_button "submit"
5454

55-
expect(page).to have_text("Shooting Guard: Ralph")
56-
end
55+
expect(page).to have_text("Shooting Guard: Ralph")
56+
end
5757

58-
it "displays the power forward's name in the browser" do
59-
visit '/newteam'
58+
it "displays the power forward's name in the browser" do
59+
visit '/newteam'
6060

61-
fill_in(:pf, :with => "Danny")
62-
click_button "submit"
61+
fill_in(:pf, :with => "Danny")
62+
click_button "submit"
6363

64-
expect(page).to have_text("Power Forward: Danny")
65-
end
64+
expect(page).to have_text("Power Forward: Danny")
65+
end
6666

67-
it "displays the shooting gaurd's name in the browser" do
68-
visit '/newteam'
67+
it "displays the shooting gaurd's name in the browser" do
68+
visit '/newteam'
6969

70-
fill_in(:sg, :with => "Joe")
71-
click_button "submit"
70+
fill_in(:sg, :with => "Joe")
71+
click_button "submit"
7272

73-
expect(page).to have_text("Shooting Guard: Joe")
74-
end
73+
expect(page).to have_text("Shooting Guard: Joe")
74+
end
7575

76-
it "displays the center's name in the browser" do
77-
visit '/newteam'
76+
it "displays the center's name in the browser" do
77+
visit '/newteam'
7878

79-
fill_in(:c, :with => "Avi")
80-
click_button "submit"
79+
fill_in(:c, :with => "Avi")
80+
click_button "submit"
8181

82-
expect(page).to have_text("Center: Avi")
83-
end
82+
expect(page).to have_text("Center: Avi")
83+
end
8484

8585

8686
end

0 commit comments

Comments
 (0)