Sha256: f06f769dd80c45124a171c5650736bf1552f0fe4e49f0723c76b97cb97c2d5dc

Contents?: true

Size: 585 Bytes

Versions: 31

Compression:

Stored size: 585 Bytes

Contents

module Bootstrap
  module Sass
    module Rails
      class Spec < MiniTest::Spec

        before do
          reset_caches
        end

        private

        def dummy_app
          Dummy::Application
        end

        def dummy_config
          dummy_app.config
        end

        def dummy_assets
          dummy_app.assets
        end

        def dummy_asset(name)
          dummy_assets[name].to_s.strip
        end

        def reset_caches
          dummy_assets.version = SecureRandom.hex(32)
          dummy_assets.cache.clear
        end
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
bootstrap-sass-rails-2.2.1.1 test/support/helpers.rb
bootstrap-sass-rails-2.2.1.0 test/support/helpers.rb
bootstrap-sass-rails-2.2.0.0pre1 test/support/helpers.rb
bootstrap-sass-rails-2.1.1.1 test/support/helpers.rb
bootstrap-sass-rails-2.1.1.0 test/support/helpers.rb
bootstrap-sass-rails-2.1.0.0 test/support/helpers.rb
bootstrap-sass-rails-2.1.0.0pre2 test/support/helpers.rb
bootstrap-sass-rails-2.1.0.0pre1 test/support/helpers.rb
bootstrap-sass-rails-2.0.4.3 test/support/helpers.rb
bootstrap-sass-rails-2.0.4.2 test/support/helpers.rb
bootstrap-sass-rails-rtl-2.0.4.12 test/support/helpers.rb
bootstrap-sass-rails-2.0.4.1 test/support/helpers.rb
bootstrap-sass-rails-2.0.4.0 test/support/helpers.rb
bootstrap-sass-rails-2.0.3.0 test/support/helpers.rb
bootstrap-sass-rails-2.0.3.0pre3 test/support/helpers.rb
bootstrap-sass-rails-2.0.3.0pre2 test/support/helpers.rb
bootstrap-sass-rails-2.0.3.0pre1 test/support/helpers.rb
bootstrap-sass-rails-2.0.2.2 test/support/helpers.rb
bootstrap-sass-rails-2.0.2.1 test/support/helpers.rb
bootstrap-sass-rails-2.0.2.0 test/support/helpers.rb