Sha256: 8e366ced0fadcd6e77267df90074853504f6158f66206bf639fbaa651b7295e1

Contents?: true

Size: 282 Bytes

Versions: 2

Compression:

Stored size: 282 Bytes

Contents

require 'spec_helper'

module OData
  describe ClassBuilder do
    describe "#initialize" do
      it "handles lowercase entities" do        
        klass = ClassBuilder.new 'product', [], []
        result = klass.build
        result.should == Product
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby_odata-0.0.10 spec/class_builder_spec.rb
ruby_odata-0.0.9 spec/class_builder_spec.rb