mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 22:07:17 +08:00
DEV: Rails 5.2 upgrade and global gem upgrade
This updates tests to use latest rails 5 practice and updates ALL dependencies that could be updated Performance testing shows that performance has not regressed if anything it is marginally faster now.
This commit is contained in:
@ -5,6 +5,10 @@ RSpec.describe TopicTimer, type: :model do
|
||||
let(:topic) { Fabricate(:topic) }
|
||||
let(:admin) { Fabricate(:admin) }
|
||||
|
||||
before do
|
||||
freeze_time Time.new(2018)
|
||||
end
|
||||
|
||||
context "validations" do
|
||||
describe '#status_type' do
|
||||
it 'should ensure that only one active public topic status update exists' do
|
||||
|
Reference in New Issue
Block a user