Failures:
1) AppleSystemStatus::CLI#fetch should execute
Failure/Error: expect(result).to be true
expected true
got false
# ./spec/apple_system_status/cli_spec.rb:5:in `block (3 levels) in <top (required)>'
2) AppleSystemStatus::Crawler#perform has title should return system services
Failure/Error: raise "Not found services" if response[:services].empty?
RuntimeError:
Not found services
# ./lib/apple_system_status/crawler.rb:54:in `perform'
# ./spec/apple_system_status/crawler_spec.rb:53:in `block (4 levels) in <top (required)>'
3) AppleSystemStatus::Crawler#perform no args should return system services
Failure/Error: raise "Not found services" if response[:services].empty?
RuntimeError:
Not found services
# ./lib/apple_system_status/crawler.rb:54:in `perform'
# ./spec/apple_system_status/crawler_spec.rb:11:in `block (4 levels) in <top (required)>'
4) AppleSystemStatus::Crawler#perform has country should return system services
Failure/Error: raise "Not found services" if response[:services].empty?
RuntimeError:
Not found services
# ./lib/apple_system_status/crawler.rb:54:in `perform'
# ./spec/apple_system_status/crawler_spec.rb:25:in `block (4 levels) in <top (required)>'
5) AppleSystemStatus::Crawler#perform has country (with blank cell) should return system services
Failure/Error: raise "Not found services" if response[:services].empty?
RuntimeError:
Not found services
# ./lib/apple_system_status/crawler.rb:54:in `perform'
# ./spec/apple_system_status/crawler_spec.rb:39:in `block (4 levels) in <top (required)>'
6) AppleSystemStatus::Crawler.perform should return system services
Failure/Error: raise "Not found services" if response[:services].empty?
RuntimeError:
Not found services
# ./lib/apple_system_status/crawler.rb:54:in `perform'
# ./lib/apple_system_status/crawler.rb:87:in `perform'
# ./spec/apple_system_status/crawler_spec.rb:89:in `block (3 levels) in <top (required)>'
Finished in 55 seconds (files took 2.13 seconds to load)
13 examples, 6 failures