Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2014-01-17 00:26:04 +0400
committerGleb Mazovetskiy <glex.spb@gmail.com>2014-01-17 00:26:04 +0400
commitf7b18d522f7e0e0a6b5d6c2592f4e6f682efd390 (patch)
treed433831069800d7b3451a6bb246885964a12011b /test
parentd892ebbeb250940a6ad67a390e4973ec2458650e (diff)
fix test
Diffstat (limited to 'test')
-rw-r--r--test/sprockets_rails_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sprockets_rails_test.rb b/test/sprockets_rails_test.rb
index 918dc1d..cdc502c 100644
--- a/test/sprockets_rails_test.rb
+++ b/test/sprockets_rails_test.rb
@@ -6,7 +6,7 @@ require 'shellwords'
class SprocketsRailsTest < ActiveSupport::TestCase
def test_sprockets_digest_asset_refs
- system "cd #{Shellwords.escape Rails.root} && bundle exec rake assets:precompile GEMFILE=#{Bootstrap.gem_path}/Gemfile RAILS_ENV=production"
+ system "cd #{Shellwords.escape Rails.root.to_s} && bundle exec rake assets:precompile GEMFILE=#{Bootstrap.gem_path}/Gemfile RAILS_ENV=production"
Dir.glob(Rails.root.join('public', 'assets', 'app*.*')) do |path|
next unless path =~ /\.(css|js)$/
File.open(path, 'r') do |f|