Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2 from alphagov/working-with-search-data
Browse files Browse the repository at this point in the history
Working with search data
  • Loading branch information
David Henry authored Oct 18, 2017
2 parents 1edf9d1 + 9087716 commit cccd065
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/govuk_visual_regression/tasks/rakefile.rake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ end
namespace :diff do
desc 'Set env var `URI` with location of a yaml file containing paths to diff'
task visual: ['config:pre_flight_check'] do |_t, args|
GovukVisualRegression::VisualDiff::Runner.new(paths: load_paths).run
GovukVisualRegression::VisualDiff::Runner.new(paths: load_paths, review_domain: review_domain, live_domain: live_domain).run
end

desc 'Set env var `DOCUMENT_TYPE` to compare most popular documents'
Expand Down
2 changes: 1 addition & 1 deletion lib/govuk_visual_regression/visual_diff/wraith_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def path_would_break_wraith?(path)
end

def path_config_name(path)
path.gsub('/', '_')
path.gsub(%r{[/&\?%]+}, '_')
end

def temporary_config_file_name
Expand Down

0 comments on commit cccd065

Please sign in to comment.