Sha256: 3eea43844af2d1365f531bc82544f833148d09ee29785ff0da57b0befcf095ce

Contents?: true

Size: 375 Bytes

Versions: 3

Compression:

Stored size: 375 Bytes

Contents

require "spec_helper"

module Fonte
  module Parsers
    describe WordParser do
      let(:parser) { described_class.new }

      subject { parser.parse(word) }

      context "with a string surrounded by double quotes" do
        let(:word) { '"Double quotes yay"' }
        it { should be }
        its(:value) { should == "Double quotes yay" }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fonte-0.2.0 spec/parsers/word_parser_spec.rb
fonte-0.1.0 spec/parsers/word_parser_spec.rb
fonte-0.0.1 spec/parsers/word_parser_spec.rb