Sha256: eded1c38df3de438bf76677bc5cc3a99673ff6d33bf2b386829457e75f8da113

Contents?: true

Size: 461 Bytes

Versions: 13

Compression:

Stored size: 461 Bytes

Contents

require File.dirname(__FILE__) + '/../../spec_helper'
require 'cucumber/formatter/console'

module Cucumber
  module Formatter
    describe Console do
      include Console

      before(:each) do
        @io = mock('console output')
      end

      it "should not raise an error when there are no tags" do
        @tag_occurrences = nil

        lambda{print_tag_limit_warnings(:tag_names => {'@wip' => 2})}.should_not raise_error
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
cucumber-0.5.3 spec/cucumber/formatter/console_spec.rb
cucumber-0.5.2 spec/cucumber/formatter/console_spec.rb
cucumber-0.5.1 spec/cucumber/formatter/console_spec.rb
cucumber-0.5.0 spec/cucumber/formatter/console_spec.rb
cucumber-0.4.5.rc2 spec/cucumber/formatter/console_spec.rb
kbaum-cucumber-0.4.5.pre spec/cucumber/formatter/console_spec.rb
cucumber-0.4.5.rc1 spec/cucumber/formatter/console_spec.rb
middleman-0.10.17 vendor/gems/gems/cucumber-0.4.4/spec/cucumber/formatter/console_spec.rb
middleman-0.10.16 vendor/gems/gems/cucumber-0.4.4/spec/cucumber/formatter/console_spec.rb
middleman-0.10.15 vendor/gems/gems/cucumber-0.4.4/spec/cucumber/formatter/console_spec.rb
rackjour-0.1.8 vendor/gems/gems/cucumber-0.4.4/spec/cucumber/formatter/console_spec.rb
middleman-0.10.14 vendor/gems/gems/cucumber-0.4.4/spec/cucumber/formatter/console_spec.rb
cucumber-0.4.4 spec/cucumber/formatter/console_spec.rb