Sha256: 7527f30272dbd3c59f22cdc7c8d904863a78d0ebff1b126ce18f0fadea56398a

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 Bytes

Contents

require File.dirname(__FILE__) + '/../../spec_helper'

module Cucumber
  module Ast
    describe Tags do
      before do
        @tags = Tags.new(-1, %w{one two three})
      end

      it "should be among other tags" do
        @tags.should be_among(%w{one})
      end

      it "should be among other tags even with @ prefix" do
        @tags.should be_among(%w{@one})
      end

      it "should not be among other tags" do
        @tags.should_not be_among(%w{one !two})
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
aslakhellesoy-cucumber-0.1.99.21 spec/cucumber/ast/tags_spec.rb
kosmas58-cucumber-0.1.99.21 spec/cucumber/ast/tags_spec.rb