Sha256: 5720cf263ba26201b9d91344631b6a58eb88bc234710d3432c6d69266fc86682

Contents?: true

Size: 559 Bytes

Versions: 19

Compression:

Stored size: 559 Bytes

Contents

require File.join(File.dirname(__FILE__),'..','spec_helper')

describe "Sugar App RUNNER" do
  appname = "mynewapp"
  backend = 'Sugar'
  
  after(:all) do
    FileUtils.rm_rf("/tmp/#{appname}")
  end
  
  it "should run all the specs for standard #{backend} app " do
    RhoconnectAdapters::CRM::TestHelpers.load_templater(backend)
    @app_generator = RhoconnectAdapters::CRM::TestHelpers.generate_sample_app('/tmp',{},appname,backend)
    cmdline = "cd /tmp/#{appname}; rake rhoconnect:spec"
    res = system "#{cmdline}"
    res.should == true
  end
end 

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rhoconnect-adapters-1.1.8 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.1.7 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.1.6 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.1.5 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.1.1 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.1 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.6 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.5 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.3 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.4 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.3.beta3 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.3.beta2 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.3.beta1 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.2 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.1 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.0 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.0.beta3 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.0.beta2 spec/apps/sugar_spec.rb
rhoconnect-adapters-1.0.0.beta1 spec/apps/sugar_spec.rb