Skip to content

Commit

Permalink
Add assets:precompile to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
atd committed Apr 24, 2012
1 parent db18871 commit 4aeff06
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -34,3 +34,4 @@ config/development.sphinx.conf
# avatar temporal files
public/images/tmp
public/system
public/assets
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -4,4 +4,5 @@ rvm:
before_script:
- "cp ./config/database.yml.example ./config/database.yml"
- "mysql -e 'create database vish_test;'"
- "mysql -e 'create database vish_production;'"
- "bundle exec rake db:schema:load"
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -33,6 +33,6 @@ RSpec::Core::RakeTask.new(:spec) do |s|
]
end

task :default => :spec
task :default => [ :spec, 'assets:precompile' ]

Vish::Application.load_tasks
2 changes: 1 addition & 1 deletion config/environments/production.rb
Expand Up @@ -43,7 +43,7 @@
# config.action_controller.asset_host = "http://assets.example.com"

# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
# config.assets.precompile += %w( search.js )
config.assets.precompile += %w( vish_editor.css )

# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
Expand Down

0 comments on commit 4aeff06

Please sign in to comment.