Sha256: 8e71a7617d6795668e33c50caaca1e939aba088aabf59118ace43376e56f58ab
Contents?: true
Size: 313 Bytes
Versions: 4
Compression:
Stored size: 313 Bytes
Contents
# encoding: utf-8 require 'test_helper' module Mayl describe Parser do before do @env = stub @parser = Parser.new(@env) end it 'parses commands' do command = @parser.parse "set key" command.must_be_kind_of Commands::Set command.key.must_equal 'key' end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mayl-0.2.1 | test/mayl/parser_test.rb |
mayl-0.2.0 | test/mayl/parser_test.rb |
mayl-0.1.0 | test/mayl/parser_test.rb |
mayl-0.0.1 | test/mayl/parser_test.rb |