Sha256: c03e1e30824e46cefcc7d3be4471bcae65787970ebac051236c3c0747a17f841

Contents?: true

Size: 433 Bytes

Versions: 3

Compression:

Stored size: 433 Bytes

Contents

require "#{File.dirname(__FILE__)}/../spec_helper"


describe 'Parsing, Unit', :unit_test => true do

  let(:nodule) { CukeModeler::Parsing }


  describe 'unique behavior' do

    it 'can parse text' do
      expect(nodule).to respond_to(:parse_text)
    end

    it 'takes the text that is to be parsed and an optional file name' do
      expect(nodule.method(:parse_text).arity).to eq(-2)
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cuke_modeler-1.0.4 testing/rspec/spec/unit/parsing_unit_spec.rb
cuke_modeler-1.0.3 testing/rspec/spec/unit/parsing_unit_spec.rb
cuke_modeler-1.0.2 testing/rspec/spec/unit/parsing_unit_spec.rb