mirror of
https://github.com/cmur2/openvpn-status-web.git
synced 2024-12-22 02:54:23 +01:00
gem: fix rubocop warning
This commit is contained in:
parent
91a414c9c4
commit
184e0c2a9b
@ -7,7 +7,7 @@ describe OpenVPNStatusWeb::Parser::ModernStateless do
|
|||||||
2 => status_v2,
|
2 => status_v2,
|
||||||
3 => status_v3
|
3 => status_v3
|
||||||
}.each do |version, status|
|
}.each do |version, status|
|
||||||
context "for status-version #{version}" do
|
context "when status-version #{version}" do
|
||||||
context 'with client list' do
|
context 'with client list' do
|
||||||
it 'parses common names' do
|
it 'parses common names' do
|
||||||
expect(status.client_list.map { |client| client[0] }).to eq(%w[foo bar])
|
expect(status.client_list.map { |client| client[0] }).to eq(%w[foo bar])
|
||||||
|
Loading…
Reference in New Issue
Block a user