Sha256: 9381ade37c78b8d169cdeb0ce8e007247c9d355df3745a5bff9e5f4de36b1ca7

Contents?: true

Size: 1.01 KB

Versions: 8

Compression:

Stored size: 1.01 KB

Contents

# This file is copied to ~/spec when you run 'ruby script/generate rspec'
# from the project root directory.
ENV["RAILS_ENV"] ||= 'test'
ENV['RAILS_ROOT'] ||= File.dirname(__FILE__) + '/rails_root'
ARGV.push("-b")
require "rubygems"
require "bundler"
Bundler.setup
require File.expand_path(File.join(ENV['RAILS_ROOT'], 'config/environment.rb'))
require 'rr'

#class Test::Unit::TestCase
#  class << self
#    def inherited(sub_class)
#      super
#      DESCENDANTS << sub_class
#    end
#    alias_method :inherited_without_test_unit_gem_inherited_fix, :inherited
#    alias_method :inherited, :inherited_without_test_unit_gem_inherited_fix
#  end
#end

require 'rspec'
require 'rspec/rails'
require 'rspec/autorun'
require 'nokogiri'
require 'capybara'
require 'capybara/rspec'

$LOAD_PATH.unshift(File.expand_path("#{File.dirname(__FILE__)}/../lib"))
require "jelly"

RSpec.configure do |configuration|
  configuration.mock_with :rr
  configuration.filter_run :focus => true
  configuration.run_all_when_everything_filtered = true
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
honkster-jelly-0.13.2 spec/spec_helper.rb
honkster-jelly-0.13.1 spec/spec_helper.rb
honkster-jelly-0.13.0 spec/spec_helper.rb
honkster-jelly-0.12.0 spec/spec_helper.rb
honkster-jelly-0.11.0 spec/spec_helper.rb
honkster-jelly-0.10.0 spec/spec_helper.rb
honkster-jelly-0.9.3 spec/spec_helper.rb
honkster-jelly-0.9.2 spec/spec_helper.rb