Sha256: 96b4d34aa5a8b3648ddfd337171943c5731b5e28cbfb1350ef9db843037744f0
Contents?: true
Size: 586 Bytes
Versions: 8
Compression:
Stored size: 586 Bytes
Contents
require 'spec_helper' module OData describe ClassBuilder do describe "#initialize" do before(:each) do @methods = [] @nav_props = [] @svc = nil @namespace = nil end it "handles lowercase entities" do klass = ClassBuilder.new 'product', @methods, @nav_props, @svc, @namespace result = klass.build result.should eq Product end it "should take in an instance of the service" do klass = ClassBuilder.new 'product', @methods, @nav_props, @svc, @namespace end end end end
Version data entries
8 entries across 8 versions & 1 rubygems