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