Sha256: 51fb760e90560c26b37336b271e2a21013445d1aebc7d5746592931d0b95348f

Contents?: true

Size: 757 Bytes

Versions: 3

Compression:

Stored size: 757 Bytes

Contents

if ENV["CI"]
  require 'simplecov'
  require 'coveralls'

  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
    SimpleCov::Formatter::HTMLFormatter,
    Coveralls::SimpleCov::Formatter
  ]
  SimpleCov.start
end

require 'rails'
require 'action_controller'
require 'active_support/concern'
require 'active_record'
require 'mongoid'
require 'remember_me'
require 'rspec'
require 'rspec/rails'

RSpec.configure do |config|
  config.mock_with :rspec
end

module Example
  class Application < Rails::Application
  end
end

Example::Application.routes.draw do
  post 'signin', to: 'sessions#create'
  get 'signout', to: 'sessions#destroy'
end

class User
  include Mongoid::Document
  include RememberMe::Model
  def save(arg = {})
    true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
remember_me-0.1.1 spec/helper.rb
remember_me-0.1.0 spec/helper.rb
remember_me-0.0.2 spec/helper.rb