Skip to content

Commit

Permalink
Do not use mocha methods outside of tests
Browse files Browse the repository at this point in the history
This fixes the error in CI:

Mocha methods cannot be used outside the context of a test
  • Loading branch information
ekohl authored and iNecas committed May 22, 2018
1 parent d235b65 commit c606d41
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/test_helper.rb
Expand Up @@ -29,8 +29,6 @@ def prepare_fake_keys
File.write(FAKE_PUBLIC_KEY_FILE, '===public-key===')
end

prepare_fake_keys

class MiniTest::Test
def setup
prepare_fake_keys
Expand Down

0 comments on commit c606d41

Please sign in to comment.