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

Version Path
rhosync-2.1.17.beta7 spec/app_spec.rb
rhosync-2.1.17.beta6 spec/app_spec.rb
rhosync-2.1.17.beta5 spec/app_spec.rb
rhosync-2.1.17.beta4 spec/app_spec.rb
rhosync-2.1.17.beta3 spec/app_spec.rb
rhosync-2.1.17.beta2 spec/app_spec.rb
rhosync-2.1.17.beta1 spec/app_spec.rb
rhosync-2.1.16 spec/app_spec.rb
rhosync-2.1.15 spec/app_spec.rb
rhosync-2.1.14 spec/app_spec.rb
rhosync-2.1.13 spec/app_spec.rb
rhosync-2.1.12 spec/app_spec.rb
rhosync-2.1.11 spec/app_spec.rb
rhosync-2.1.10 spec/app_spec.rb
rhosync-2.1.7 spec/app_spec.rb
rhosync-2.1.6 spec/app_spec.rb
rhosync-2.1.3 spec/app_spec.rb
rhosync-2.1.2 spec/app_spec.rb
rhosync-2.1.1 spec/app_spec.rb
rhosync-2.1.0 spec/app_spec.rb