Sha256: c5a45e2cf17a618183967ba9dbcf7326850f6575d0c5f581ad9799851b6deb98

Contents?: true

Size: 367 Bytes

Versions: 24

Compression:

Stored size: 367 Bytes

Contents

rspec do
  def self.with_prepare_params
    before do
      $with_prepare_params = true
    end
    
    after do
      $with_prepare_params = false
    end
  end
end

rad.before_scope :cycle do
  unless $with_prepare_params  
    rad.conveyors.web do |web|
      web.definitions.delete_if{|pdef, args| pdef.name =~ /PrepareParams/}
      web.build!
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
rad_core-0.0.17 lib/rad/spec/http.rb
rad_core-0.0.16 lib/rad/spec/http.rb
rad_core-0.0.15 lib/rad/spec/http.rb
rad_core-0.0.14 lib/rad/spec/http.rb