gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/spec/lib/admin/system_check/message_spec.rb

15 lines
427 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require 'rails_helper'
describe Admin::SystemCheck::Message do
subject(:check) { described_class.new(:key_value, :value_value, :action_value, :critical_value) }
it 'providers readers when initialized' do
expect(check.key).to eq :key_value
expect(check.value).to eq :value_value
expect(check.action).to eq :action_value
expect(check.critical).to eq :critical_value
end
end