Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tdooner committed Apr 24, 2024
1 parent 575d405 commit fed66f5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/controllers/pages_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class PagesController < ApplicationController
def home
def welcome
end
end
2 changes: 0 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ en:
fr: Français
zh: 中文
skip_link: Skip to main content
welcome:

5 changes: 0 additions & 5 deletions spec/models/provider_spec.rb

This file was deleted.

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

0 comments on commit fed66f5

Please sign in to comment.