Sha256: 490261d1746c22aa4653acbf7f2ccc75f7b73c0aa36eccec68e970d01cc23b0e

Contents?: true

Size: 575 Bytes

Versions: 5

Compression:

Stored size: 575 Bytes

Contents

ENV['RAILS_ENV'] = 'test'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'rails'
require 'bundler/setup'
Bundler.require

require 'capybara/rspec'
require 'fake_app/rails_app'
require 'rspec/rails'

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.mock_with :rr
  config.filter_run_excluding generator_spec: true unless ENV['GENERATOR_SPEC']
  config.raise_errors_for_deprecations!
  config.include H2ocubeRailsHelper::ActionView::Helpers
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
h2ocube_rails_helper-0.2.1 spec/spec_helper.rb
h2ocube_rails_helper-0.2.0 spec/spec_helper.rb
h2ocube_rails_helper-0.1.3 spec/spec_helper.rb
h2ocube_rails_helper-0.1.2 spec/spec_helper.rb
h2ocube_rails_helper-0.1.1 spec/spec_helper.rb