Sha256: 2a680e7d903d97cb2a3b385a8313d2e0ab5e77c0a763401508d0051f380f9e4c

Contents?: true

Size: 503 Bytes

Versions: 38

Compression:

Stored size: 503 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', 'test_helper')

class AutoloadMacroTest < ActiveSupport::TestCase # :nodoc:
  context "The macro auto-loader" do
    should "load macros from the plugins" do
      assert self.class.respond_to?('plugin_macro')
    end

    should "load macros from the gems" do
      assert self.class.respond_to?('gem_macro')
    end

    should "load custom macros from ROOT/test/shoulda_macros" do
      assert self.class.respond_to?('custom_macro')
    end
  end
end

Version data entries

38 entries across 38 versions & 10 rubygems

Version Path
thoughtbot-shoulda-2.10.2 test/other/autoload_macro_test.rb
lockbox_middleware-1.2.1 vendor/gems/shoulda-2.10.2/test/other/autoload_macro_test.rb
robert-shoulda-2.10.4 test/other/autoload_macro_test.rb
robert-shoulda-2.10.3 test/other/autoload_macro_test.rb
simply_stated-0.0.5 vendor/gems/ruby/1.8/gems/shoulda-2.10.3/test/other/autoload_macro_test.rb
simply_stated-0.0.4 vendor/gems/ruby/1.8/gems/shoulda-2.10.3/test/other/autoload_macro_test.rb
shoulda-2.10.3 test/other/autoload_macro_test.rb
tpitale-shoulda-2.11.0 test/other/autoload_macro_test.rb
shoulda-2.10.2 test/other/autoload_macro_test.rb
poolparty-1.3.15 vendor/gems/shoulda/test/other/autoload_macro_test.rb
poolparty-1.3.14 vendor/gems/shoulda/test/other/autoload_macro_test.rb
poolparty-1.3.13 vendor/gems/shoulda/test/other/autoload_macro_test.rb
poolparty-1.3.8 vendor/gems/shoulda/test/other/autoload_macro_test.rb
poolparty-1.3.7 vendor/gems/shoulda/test/other/autoload_macro_test.rb
poolparty-1.3.6 vendor/gems/shoulda/test/other/autoload_macro_test.rb
poolparty-1.3.4 vendor/gems/shoulda/test/other/autoload_macro_test.rb
poolparty-1.3.3 vendor/gems/shoulda/test/other/autoload_macro_test.rb
poolparty-1.3.1 vendor/gems/shoulda/test/other/autoload_macro_test.rb