-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
3 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class PagesController < ApplicationController | ||
def home | ||
def welcome | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,5 +23,3 @@ en: | |
fr: Français | ||
zh: 中文 | ||
skip_link: Skip to main content | ||
welcome: | ||
|
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
spec/views/pages/home.html.erb_spec.rb → spec/views/pages/welcome.html.erb_spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
require "rails_helper" | ||
|
||
RSpec.describe "pages/home.html.erb", type: :view do | ||
RSpec.describe "pages/welcome.html.erb", type: :view do | ||
it "displays the gov banner" do | ||
render template: "pages/home", layout: "layouts/application" | ||
render template: "pages/welcome", layout: "layouts/application" | ||
expect(rendered).to match "An official website of the United States government" | ||
end | ||
end |