Skip to content

Commit

Permalink
warning if the Jasmine::Config has stylesheets, since we don't suppor…
Browse files Browse the repository at this point in the history
…t them yet
  • Loading branch information
mag committed Sep 3, 2010
1 parent d366ae5 commit 26b4341
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/jazz_money/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ class Runner
def self.from_jasmine_config
jasmine_config = Jasmine::Config.new

unless jasmine_config.stylesheets.empty?
warn "WARNING: JazzMoney does not support stylesheets!"
end

spec_files = jasmine_config.spec_files.map { |path| File.join(jasmine_config.spec_dir, path) }
helper_files = jasmine_config.helpers.map { |path| File.join(jasmine_config.spec_dir, path) }
src_files = jasmine_config.src_files.map { |path| File.join(jasmine_config.src_dir, path) }
Expand Down

0 comments on commit 26b4341

Please sign in to comment.