test/spec_helper.rb in openpay-2.0.0b vs test/spec_helper.rb in openpay-2.0.0
- old
+ new
@@ -2,17 +2,19 @@
$: << 'lib'
$: << 'lib/openpay'
require 'openpay'
require 'factory_bot'
-#FactoryBot.find_definitions
+#uncomment below to test on travis-ci
+FactoryBot.find_definitions
require 'test/Factories'
require 'rspec'
require 'json_spec'
RSpec.configure do |config|
config.include FactoryBot::Syntax::Methods
+ #uncomment below to test on local
#config.before(:suite) {FactoryBot.reload}
config.expect_with :rspec do |c|
c.syntax = :expect
config.include JsonSpec::Helpers