Commit a3ec58fa authored by Robert May's avatar Robert May

Remove freeze_time

parent c0980215
...@@ -32,7 +32,6 @@ RSpec.describe ResourceEvents::ChangeStateService do ...@@ -32,7 +32,6 @@ RSpec.describe ResourceEvents::ChangeStateService do
end end
it "sets the created_at timestamp from the system_note_timestamp" do it "sets the created_at timestamp from the system_note_timestamp" do
freeze_time do
resource.system_note_timestamp = Time.at(43).utc resource.system_note_timestamp = Time.at(43).utc
described_class.new(user: user, resource: resource).execute(status: state, mentionable_source: source) described_class.new(user: user, resource: resource).execute(status: state, mentionable_source: source)
...@@ -42,7 +41,6 @@ RSpec.describe ResourceEvents::ChangeStateService do ...@@ -42,7 +41,6 @@ RSpec.describe ResourceEvents::ChangeStateService do
end end
end end
end end
end
describe '#execute' do describe '#execute' do
context 'when resource is an Issue' do context 'when resource is an Issue' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment