[DRE-commits] [ruby-rails-assets-favico.js] 01/01: use rake assets:precompile test
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sun Sep 6 14:57:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-rails-assets-favico.js.
commit 576d92b619dda7a139b451ba462594e0c451a8c3
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sun Sep 6 20:26:36 2015 +0530
use rake assets:precompile test
---
debian/tests/control | 2 +-
debian/tests/smoke-test | 14 ++++++++++----
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/debian/tests/control b/debian/tests/control
index 755d909..90b1c09 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,2 @@
Tests: smoke-test
-Depends: @, ruby-sprockets, ruby-coffee-script
+Depends: @, rails, ruby-coffee-script
diff --git a/debian/tests/smoke-test b/debian/tests/smoke-test
index fd52032..241331d 100755
--- a/debian/tests/smoke-test
+++ b/debian/tests/smoke-test
@@ -5,10 +5,16 @@ set -ex
cd $ADTTMP
-cat > foo.coffee <<EOF
- at import favico.js
-#= require favico.js
+rails new foo
+cd foo
+
+cat >> app/assets/javascripts/application.js <<EOF
+# =require favico.js
EOF
-sprockets -rrails-assets-favico.js -I. foo.coffee
+cat >> Gemfile <<EOF
+gem 'rails-assets-favico.js'
+EOF
+bundle install --local
+bundle exec rake assets:precompile
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rails-assets-favico.js.git
More information about the Pkg-ruby-extras-commits
mailing list