Skip to content

Commit

Permalink
Merge pull request #427 from JamesGlover/fix-rake-task-error-in-prod-…
Browse files Browse the repository at this point in the history
…deploy

Fix rake task error in prod deploy
  • Loading branch information
andrewsparkes authored Apr 27, 2020
2 parents 5026e99 + f0837a5 commit 00c65cb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/tasks/test_factories_lint.rake
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# frozen_string_literal: true

require './spec/support/contract_helper.rb'
require 'pry'

namespace :test do
namespace :factories do
desc 'Lint the factories'
task lint: :environment do
require 'webmock'
require './spec/support/contract_helper.rb'

include WebMock::API

WebMock.enable!
Expand Down

0 comments on commit 00c65cb

Please sign in to comment.