Skip to content

Commit

Permalink
Fix rake test command
Browse files Browse the repository at this point in the history
  • Loading branch information
mirisuzanne committed Nov 28, 2014
1 parent a69143f commit f8c9b4a
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 41 deletions.
2 changes: 1 addition & 1 deletion test/Gemfile → Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source "http://rubygems.org"

gem "compass", "~> 1.0"
gemspec :path => '.'
16 changes: 16 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
PATH
remote: .
specs:
susy (2.1.3)
sass (>= 3.3.0, < 3.5)

GEM
remote: http://rubygems.org/
specs:
sass (3.4.9)

PLATFORMS
ruby

DEPENDENCIES
susy!
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ end

desc "run the tests"
task :test do
sh "bower install && cd test && bundle exec sass scss/test.scss css/test.css 2> error.output > /dev/null --force && cd - > /dev/null", :verbose => false
sh "bundle install --quiet && bower install && cd test && bundle exec sass scss/test.scss css/test.css 2> error.output > /dev/null --force && cd - > /dev/null", :verbose => false
open("test/error.output") do |f|
if f.read =~ /(.*):\d+.* (\d+) Passed.* (\d+) Failed/
unless $3 == "0"
Expand Down
28 changes: 0 additions & 28 deletions test/Gemfile.lock

This file was deleted.

8 changes: 0 additions & 8 deletions test/config.rb

This file was deleted.

6 changes: 3 additions & 3 deletions test/scss/test.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/* Susy Tests */
/* ========== */

@import "../sass/susy";
@import "../bower_components/true/sass/true";
@import "../../sass/susy";
@import "../../bower_components/true/sass/true";
@import "test/helpers";
@import "test/layout";

// test that susyone settings don't cause errors in susy
@import "../sass/susy/language/susyone/settings";
@import "../../sass/susy/language/susyone/settings";

@import "tests";

Expand Down

0 comments on commit f8c9b4a

Please sign in to comment.