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.2.6 lib/rad/spec/http.rb
rad_core-0.2.5 lib/rad/spec/http.rb
rad_core-0.2.4 lib/rad/spec/http.rb
rad_core-0.2.3 lib/rad/spec/http.rb
rad_core-0.2.2 lib/rad/spec/http.rb
rad_core-0.2.1 lib/rad/spec/http.rb
rad_core-0.2.0 lib/rad/spec/http.rb
rad_core-0.0.30 lib/rad/spec/http.rb
rad_core-0.0.29 lib/rad/spec/http.rb
rad_core-0.0.28 lib/rad/spec/http.rb
rad_core-0.0.27 lib/rad/spec/http.rb
rad_core-0.0.26 lib/rad/spec/http.rb
rad_core-0.0.25 lib/rad/spec/http.rb
rad_core-0.0.24 lib/rad/spec/http.rb
rad_core-0.0.23 lib/rad/spec/http.rb
rad_core-0.0.22 lib/rad/spec/http.rb
rad_core-0.0.21 lib/rad/spec/http.rb
rad_core-0.0.20 lib/rad/spec/http.rb
rad_core-0.0.19 lib/rad/spec/http.rb
rad_core-0.0.18 lib/rad/spec/http.rb