Sha256: 574042484ffb526a6df19602583c1ff135bb87324094c4e4504f334f8e8dcade
Contents?: true
Size: 588 Bytes
Versions: 10
Compression:
Stored size: 588 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 @a.sources << "SimpleAdapter" @a.sources << "SampleAdapter" @a1 = App.load(@a_fields[:name]) @a1.sources.members.sort.should == ["SampleAdapter", "SimpleAdapter"] end end
Version data entries
10 entries across 10 versions & 1 rubygems