Sha256: 76dfaefedb5be6c8ae7b994c16870dce6762e9e97698c1ae1236b63ff0fab461

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

class Test::Unit::TestCase

  def self.running_in_foundry
    File.expand_path(File.dirname(__FILE__)) =~ /\/rails_plugin_foundry\//
  end

  def running_in_foundry
    self.class.running_in_foundry
  end

  def self.in_foundry_should(behave,&block)
    should(behave,&block) if running_in_foundry
  end

  def test_PLACEHOLDER; end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
migration_test_helper-1.3.1 test/foundry_only_helper.rb
migration_test_helper-1.3.2 test/foundry_only_helper.rb