Sha256: 5af6ff19cb8c878cb35ed7cc6547dc1c338c0bd1ff9747adaea1e4eef133b527
Contents?: true
Size: 692 Bytes
Versions: 8
Compression:
Stored size: 692 Bytes
Contents
require 'spec_helper' # this spec makes trouble, becasue if the assets wont get deleted, the app will use # the precompiled assets suring testing, whcih interferes with dynamically created code describe 'test_app generator' do xit "does not interfere with asset precompilation" do cmd = "cd spec/test_app; BUNDLE_GEMFILE=#{ENV['REAL_BUNDLE_GEMFILE']} bundle exec rails assets:precompile" expect(system(cmd)).to be_truthy end end describe 'assets:clobber' do xit "remove precompiled assets so tests use recent assets" do cmd = "cd spec/test_app; BUNDLE_GEMFILE=#{ENV['REAL_BUNDLE_GEMFILE']} bundle exec rails assets:clobber" expect(system(cmd)).to be_truthy end end
Version data entries
8 entries across 8 versions & 1 rubygems