Sha256: 3e4dbac7293498ca2fb9f0729a44c5ce033b52aacc02b55efa2a019d6c1608ea
Contents?: true
Size: 524 Bytes
Versions: 36
Compression:
Stored size: 524 Bytes
Contents
require File.join(File.dirname(__FILE__),'spec_helper') describe "App" do it_should_behave_like "SpecBootstrapHelper" it_should_behave_like "SourceAdapterHelper" it "should create app with fields" do @a.id.should == @a_fields[:name] @a1 = App.load(@a_fields[:name]) @a1.id.should == @a.id @a1.name.should == @a_fields[:name] end it "should add source adapters" do @a1 = App.load(@a_fields[:name]) @a1.sources.members.sort.should == ["FixedSchemaAdapter", "SampleAdapter"] end end
Version data entries
36 entries across 36 versions & 1 rubygems