Sha256: c377b1bb3c6b8ea0c9a960415ca2e5e7d64f64938f64d00b6c2531c3eb35d51e
Contents?: true
Size: 659 Bytes
Versions: 5
Compression:
Stored size: 659 Bytes
Contents
ENV["RAILS_ENV"] ||= 'test' require File.expand_path("#{__dir__}/../lib/scoped_from") require 'byebug' # Support Dir["#{__dir__}/support/**/*.rb"].each { |f| require File.expand_path(f) } # Mocks ActiveSupport::Dependencies.autoload_paths << "#{__dir__}/mocks" RSpec.configure do |config| config.raise_errors_for_deprecations! config.include(UserMacro) config.before(:each) do Comment.delete_all Post.delete_all User.delete_all Vote.delete_all create_user(:john, firstname: 'John', lastname: 'Doe', enabled: true, admin: true) create_user(:jane, firstname: 'Jane', lastname: 'Doe', enabled: false, admin: false) end end
Version data entries
5 entries across 5 versions & 1 rubygems