Sha256: 91c30310692b42379475b25149e991a9d2389fb2e856dd099ea8e2e07b4988f3
Contents?: true
Size: 693 Bytes
Versions: 1
Compression:
Stored size: 693 Bytes
Contents
# Classes required for the tests # class User; end # module ApplicationHelper; def current_user; raise; end; end # Create a rails app module FeatureGate class Application < Rails::Application config.secret_key_base = 'test' config.paths['config/database'] = ['spec/support/database.yml'] config.eager_load = false end class Engine < Rails::Engine isolate_namespace FeatureGate end class ApplicationController < ActionController::Base end end FeatureGate::Application.initialize! # Run migrations require_relative '../lib/generators/feature_gate/templates/migration' CreateFeatureGateGatedFeatures.suppress_messages { CreateFeatureGateGatedFeatures.new.change }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
feature_gate-0.2.4 | spec/fake_app.rb |