spec/field_parser_spec.rb in jiralicious-0.0.6 vs spec/field_parser_spec.rb in jiralicious-0.1.0

- old
+ new

@@ -1,7 +1,7 @@ # encoding: utf-8 -require File.expand_path(File.dirname(__FILE__) + '/spec_helper') +require 'spec_helper' class ParserMock include Jiralicious::Parsers::FieldParser def initialize(parsed) @@ -12,9 +12,10 @@ describe Jiralicious::Parsers::FieldParser do context "parse!" do before :each do @parsed_data = { "testfield" => {"name" => "testfield", "value" => "Test Data"}, + "without_hash" => "test", "methods" => {"name" => "methods", "value" => "Test Data 2"}, "testField" => {"name" => "testField", "value" => "Test Data 3"}, "test_field_dash" => {"name" => "test-field-dash", "value" => "Test Data 4"}, "test_field_space" => {"name" => "test field space", "value" => "Test Data 5"}, "test_field_hash" => {"name" => "test_field_hash", "value" => {"it" => "is a Hash"}},