Sha256: f8da23498e396d3c9e401acb596be6bad17f1fcd63cdb3b97ba88d36461a7762
Contents?: true
Size: 765 Bytes
Versions: 4
Compression:
Stored size: 765 Bytes
Contents
require 'bundler/setup' require 'test/unit/testcase' require 'active_support/test_case' require 'minitest/spec' require 'minitest/autorun' require 'focused_controller' require 'pathname' require 'ostruct' require 'rspec/core' TEST_ROOT = File.expand_path('..', __FILE__) # Don't want to actually use RSpec to run our tests # module RSpec::Core::DSL # remove_method :describe # end # Annoying monkey-patches. "require 'rspec/rails'" pulls in 'capybara/rails', if it # can, and capybara/rails assumes there is a full rails env present. So this is a # hack to make it not fail. module Rails def self.version '3.0' end def self.root Pathname.new('') end def self.application OpenStruct.new(:env_config => {}, :env_defaults => {}) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
controll-0.3.2 | spec/helper.rb |
controll-0.3.1 | spec/helper.rb |
controll-0.3.0 | spec/helper.rb |
controll-0.2.0 | spec/helper.rb |