Sha256: 4589f782724040a5eee53edbf9bd773fc49aa1740fa8630f96bcdf521a086f20

Contents?: true

Size: 654 Bytes

Versions: 44

Compression:

Stored size: 654 Bytes

Contents

require 'soaspec'
require 'require_all'
require_all 'lib'
require 'data_magic'

include DataMagic # Used as example of loading data smartly. Use 'data_for' method to load yml data
<% if @type == 'rest' %>
include Soaspec::RestMethods
<% end %>

RSpec.configure do |config|
  # This will make backtrace much shorter by removing many lines from rspec failure message
  config.backtrace_exclusion_patterns = [
      /rspec/
  ]
<% if @virtual %>
  # Close test server after all RSpec tests have run
  config.after(:suite) do
    Process.kill(:QUIT, ENV['test_server_pid'].to_i) if ENV['test_server_pid'] && !ENV['leave_server_running']
  end
<% end %>
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
soaspec-0.3.11 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.3.10 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.3.9 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.3.8 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.3.7 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.3.6 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.3.3 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.3.2 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.3.1 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.2.32 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.2.31 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.2.30 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.2.29 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.2.28 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.2.27 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.2.26 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.2.25 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.2.23 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.2.22 lib/soaspec/generator/spec/spec_helper.rb.erb
soaspec-0.2.21 lib/soaspec/generator/spec/spec_helper.rb.erb