lib/prospectus_dockerhub.rb in prospectus_dockerhub-0.0.3 vs lib/prospectus_dockerhub.rb in prospectus_dockerhub-0.0.4
- old
+ new
@@ -1,10 +1,10 @@
require 'nokogiri'
require 'open-uri'
module ProspectusDockerhub
- GOOD_STATUSES = %w[success].freeze
+ GOOD_STATUSES = %w[queued building success].freeze
# rubocop:disable Metrics/LineLength
STATUS_XPATH = '//span[contains(@class, "BuildStatus__statusWrapper__")]'.freeze
# rubocop:enable Metrics/LineLength
##
@@ -21,15 +21,15 @@
item do
name 'dockerhub'
expected do
static
- set actual_val
+ set expected_val
end
actual do
static
- set expected_val
+ set actual_val
end
end
end
end