Sha256: 2c0b780dd7ea312a0c85c805d1d6877c4b53512130e5cd380485ef394b5f793b
Contents?: true
Size: 540 Bytes
Versions: 3
Compression:
Stored size: 540 Bytes
Contents
require 'test_helper' require 'fake_app' class VerdictRailsTest < Minitest::Test def setup Verdict.clear_repository_cache new_rails_app = Dummy::Application.new new_rails_app.initialize! end def test_verdict_railtie_should_find_directory_path assert_equal Verdict.directory, Rails.root.join('app', 'experiments') end def test_verdict_should_eager_load_discovery expected_experiment = Verdict.instance_variable_get('@repository') assert expected_experiment.include?("test_rails_app_experiment") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
verdict-0.11.0 | test/verdict_rails_test.rb |
verdict-0.10.0 | test/verdict_rails_test.rb |
verdict-0.9.0 | test/verdict_rails_test.rb |