Sha256: 091c1f6ce8655e04c0939a6cce373f613b4f3103eeba51c6e877982a0be7ce7e

Contents?: true

Size: 716 Bytes

Versions: 10

Compression:

Stored size: 716 Bytes

Contents

# when spec/rails is required it expects to be inside a real Rails application and looks for 
# classes and files that aren't present in the plugin. This is a copy of most of what is
# inside the spec-rails gem's initialization.
class ApplicationController
end

require 'rack/utils'

require 'action_controller/test_process'
require 'action_controller/integration'
require 'active_support/test_case'
require 'active_record/fixtures' if defined?(ActiveRecord::Base)

require 'spec/test/unit'

require 'spec/rails/matchers'
require 'spec/rails/mocks'
require 'spec/rails/example'
require 'spec/rails/extensions'
require 'spec/rails/interop/testcase'

Spec::Example::ExampleGroupFactory.default(ActiveSupport::TestCase)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
exposure-0.2.1 spec/spec_rails_helper.rb
exposure-0.2.0 spec/spec_rails_helper.rb
exposure-0.1.3 spec/spec_rails_helper.rb
exposure-0.1.2 spec/spec_rails_helper.rb
exposure-0.1.1 spec/spec_rails_helper.rb
exposure-0.1.0 spec/spec_rails_helper.rb
exposure-0.0.7 spec/spec_rails_helper.rb
exposure-0.0.6 spec/spec_rails_helper.rb
exposure-0.0.5 spec/spec_rails_helper.rb
exposure-0.0.4 spec/spec_rails_helper.rb