Sha256: 901ad1225f67a3174a9cff5ea6acec559472131a0889340dc161d04183c664be
Contents?: true
Size: 585 Bytes
Versions: 6
Compression:
Stored size: 585 Bytes
Contents
require 'rspec' require 'webmock/rspec' def require_files_from(paths = []) paths.each do |path| Dir[File.join(File.expand_path("#{path}*.rb", __FILE__))].sort.each do |file| require file end end end RSpec.configure do |config| config.color = true require File.expand_path('../../lib/daigaku', __FILE__) require_files_from ["../support/**/"] config.include TestHelpers config.before(:each, type: :view) { mock_default_window } config.before(:all) do prepare_courses use_test_storage_file end config.after(:all) { cleanup_temp_data } end
Version data entries
6 entries across 6 versions & 1 rubygems