Sha256: fb2cc8186160400474ac1b0269da12c9cd8c7a5339bfa425c9c4a83df6b2ca28

Contents?: true

Size: 362 Bytes

Versions: 7

Compression:

Stored size: 362 Bytes

Contents

require "spec_helper"

describe Microformat do
  subject { Microformat }

  describe "::parse" do
    let(:args) { ["one", 2, :three] }
    
    before(:each) do
      Microformat::Parser.should_receive(:parse).with(*args).and_return(true)
    end
    
    it "should pass args onto the parser" do
      expect(subject.parse(*args)).to be_true
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
elcamino-microformat-0.0.8 spec/microformat_spec.rb
microformat-0.0.7 spec/microformat_spec.rb
microformat-0.0.6 spec/microformat_spec.rb
microformat-0.0.5 spec/microformat_spec.rb
microformat-0.0.4 spec/microformat_spec.rb
microformat-0.0.3 spec/microformat_spec.rb
microformat-0.0.2 spec/microformat_spec.rb