lib/genspec/matchers/output_matcher.rb in genspec-0.2.0.prerails3.2 vs lib/genspec/matchers/output_matcher.rb in genspec-0.2.0

- old
+ new

@@ -1,9 +1,9 @@ module GenSpec module Matchers class OutputMatcher < GenSpec::Matchers::Base def output - Thor::Base.shell.output.string + shell.output.string end def initialize(text_or_regexp) regexp = if text_or_regexp.kind_of?(Regexp) text_or_regexp \ No newline at end of file