In your helper
change
config.after(:each) do
DatabaseCleaner.clean
end
to
apiVersion: apps/v1beta2 | |
kind: StatefulSet | |
metadata: | |
name: vpn | |
spec: | |
selector: | |
matchLabels: | |
app: vpn | |
serviceName: vpn | |
replicas: 1 |
require 'nokogiri' | |
require 'open-uri' | |
require 'uri' | |
# url = 'https://www.facebook.com/LifeFitness' | |
# for fanpages with videocover, it won't find the cover | |
url = 'https://www.facebook.com/cleverfit.dornach' |
/var/log/openvpn.log { | |
daily | |
rotate 12 | |
compress | |
copytruncate | |
delaycompress | |
missingok | |
notifempty | |
} |
[{:name=>"Afghanistan", :code=>"AF"}, | |
{:name=>"Aland Islands", :code=>"AX"}, | |
{:name=>"Albania", :code=>"AL"}, | |
{:name=>"Algeria", :code=>"DZ"}, | |
{:name=>"American Samoa", :code=>"AS"}, | |
{:name=>"Andorra", :code=>"AD"}, | |
{:name=>"Angola", :code=>"AO"}, | |
{:name=>"Anguilla", :code=>"AI"}, | |
{:name=>"Antarctica", :code=>"AQ"}, | |
{:name=>"Antigua And Barbuda", :code=>"AG"}, |