Sha256: 82ffe5ec99844f3992370b093db57a0d08e9d2d30420551fed94d84051dc009b

Contents?: true

Size: 459 Bytes

Versions: 50

Compression:

Stored size: 459 Bytes

Contents

require 'test_helper'

class AutoloadMacroTest < Test::Unit::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

50 entries across 40 versions & 6 rubygems

Version Path
shoulda-context-1.2.2 test/shoulda/autoload_macro_test.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/shoulda-context-1.2.1/test/shoulda/autoload_macro_test.rb
shoulda-context-1.2.1 test/shoulda/autoload_macro_test.rb
shoulda-context-1.2.0 test/shoulda/autoload_macro_test.rb
vtd_xml-0.0.3-java bundle/jruby/1.9/gems/shoulda-context-1.1.6/test/shoulda/autoload_macro_test.rb
shoulda-context-1.1.6 test/shoulda/autoload_macro_test.rb
shoulda-context-1.1.5 test/shoulda/autoload_macro_test.rb
challah-1.0.0 vendor/bundle/gems/shoulda-context-1.1.3/test/shoulda/autoload_macro_test.rb
shoulda-context-1.1.4 test/shoulda/autoload_macro_test.rb
shoulda-context-1.1.3 test/shoulda/autoload_macro_test.rb
shoulda-context-1.1.2 test/shoulda/autoload_macro_test.rb
challah-1.0.0.beta3 vendor/bundle/gems/shoulda-context-1.1.1/test/shoulda/autoload_macro_test.rb
challah-1.0.0.beta3 vendor/bundle/gems/shoulda-context-1.1.0/test/shoulda/autoload_macro_test.rb
challah-1.0.0.beta2 vendor/bundle/gems/shoulda-context-1.1.0/test/shoulda/autoload_macro_test.rb
challah-1.0.0.beta2 vendor/bundle/gems/shoulda-context-1.1.1/test/shoulda/autoload_macro_test.rb
shoulda-context-1.1.1 test/shoulda/autoload_macro_test.rb
challah-1.0.0.beta vendor/bundle/gems/shoulda-context-1.0.2/test/shoulda/autoload_macro_test.rb
challah-1.0.0.beta vendor/bundle/gems/shoulda-context-1.0.1/test/shoulda/autoload_macro_test.rb
challah-1.0.0.beta vendor/bundle/gems/shoulda-context-1.1.0/test/shoulda/autoload_macro_test.rb
shoulda-context-1.1.0 test/shoulda/autoload_macro_test.rb