Sha256: 520e4b33dda74b417783e221d520b07d5937fd0ba5cfda1b7a8d3d98c72b3b33

Contents?: true

Size: 614 Bytes

Versions: 3

Compression:

Stored size: 614 Bytes

Contents

ENV["RAILS_ENV"] = "test"

$:.unshift File.dirname(__FILE__)

require 'rails_app/config/environment'
require 'orm/active_record'
require 'rails/test_help'
require 'rspec'
require 'shoulda'
require 'capybara/rails'
require 'capybara/rspec'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true

  config.before(:each) do
    User.destroy_all
    LoginEvent.destroy_all
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
devise_password_sharing_extension-0.0.4 spec/spec_helper.rb
devise_password_sharing_extension-0.0.2 spec/spec_helper.rb
devise_password_sharing_extension-0.0.1 spec/spec_helper.rb