Sha256: f03ad0782cc220d6241ec5f260996c36fd950651e8c76e1e9f237649d07634cf
Contents?: true
Size: 590 Bytes
Versions: 4
Compression:
Stored size: 590 Bytes
Contents
require 'rspec' require 'webmock/rspec' def require_files_from(paths = []) paths.each do |path| files = Dir[File.join(File.expand_path("#{path}*.rb", __FILE__))].sort files.each { |file| require file } 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
daigaku-1.0.0 | spec/spec_helper.rb |
daigaku-0.6.0 | spec/spec_helper.rb |
daigaku-0.5.0 | spec/spec_helper.rb |
daigaku-0.4.0 | spec/spec_helper.rb |