These two tests are time zone sensitive (#17263)
This follows the work in #17165 - the service test and this request spec are exercising nearly identical timezone sensitive paths.
This commit is contained in:
parent
4cb78aed1c
commit
e28c130107
1 changed files with 2 additions and 2 deletions
|
|
@ -38,9 +38,9 @@ RSpec.describe "/admin", type: :request do
|
|||
|
||||
it { is_expected.to include("Analytics and trends") }
|
||||
it { is_expected.to include("Yesterday") }
|
||||
it { is_expected.to include("Apr 23") }
|
||||
xit { is_expected.to include("Apr 23") }
|
||||
|
||||
it "displays correct number of posts from past week" do
|
||||
xit "displays correct number of posts from past week" do
|
||||
create(:article, published_at: Time.zone.today)
|
||||
create(:article, published_at: 1.day.ago)
|
||||
create(:article, published_at: 7.days.ago)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue