Sha256: 3a0a6242aa223bd48d295b8407fafd25bde5ef5d1bcb7fb8054c5a29ef3165fa
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 Bytes
Contents
require 'spec_helper' describe Fontcustom::Actions do class Generator include Fontcustom::Actions attr_accessor :opts def initialize @opts = { :project_root => fixture, :verbose => true } @shell = Thor::Shell::Color.new end end context "#say_changed" do it "should strip :project_root from changed paths" do changed = %w|a b c|.map { |file| fixture(file) } gen = Generator.new output = capture(:stdout) { gen.say_changed(:success, changed) } output.should_not match(fixture) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fontcustom-1.1.0.pre | spec/fontcustom/actions_spec.rb |