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

compass_test.rb « test - github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3be6101cb0ed7096a8ab507d540104ace267f426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'test_helper'

class CompassTest < Minitest::Test
  COMPASS_CMD = 'compass create tmp/new-compass-project -r bootstrap --using bootstrap --trace --force'

  def test_create_project
    command = [
        'rm -rf tmp/new-compass-project;',
        COMPASS_CMD
    ].join(' ')
    success = silence_stdout_if(!ENV['VERBOSE']) { system(command) }
    assert success, 'Compass project creation failed!'
  end
end