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
challah-0.9.1.beta.3 vendor/bundle/gems/shoulda-context-1.0.1/test/shoulda/autoload_macro_test.rb
devise_sociable-0.1.0 vendor/bundle/gems/shoulda-context-1.0.2/test/shoulda/autoload_macro_test.rb
challah-0.9.1.beta vendor/bundle/gems/shoulda-context-1.0.1/test/shoulda/autoload_macro_test.rb
challah-0.9.0 vendor/bundle/gems/shoulda-context-1.0.1/test/shoulda/autoload_macro_test.rb
shoulda-context-1.0.2 test/shoulda/autoload_macro_test.rb
challah-rolls-0.2.0 vendor/bundle/gems/shoulda-context-1.0.0/test/shoulda/autoload_macro_test.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/shoulda-context-1.0.0/test/shoulda/autoload_macro_test.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/shoulda-context-1.0.0/test/shoulda/autoload_macro_test.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/shoulda-context-1.0.1/test/shoulda/autoload_macro_test.rb
challah-rolls-0.2.0 vendor/bundle/gems/shoulda-context-1.0.1/test/shoulda/autoload_macro_test.rb
challah-0.8.3 vendor/bundle/gems/shoulda-context-1.0.0/test/shoulda/autoload_macro_test.rb
challah-0.8.3 vendor/bundle/gems/shoulda-context-1.0.1/test/shoulda/autoload_macro_test.rb
shoulda-context-1.0.1 test/shoulda/autoload_macro_test.rb
challah-0.8.1 vendor/bundle/gems/shoulda-context-1.0.0/test/shoulda/autoload_macro_test.rb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/shoulda-context-1.0.0/test/shoulda/autoload_macro_test.rb
challah-rolls-0.1.0 vendor/bundle/gems/shoulda-context-1.0.0/test/shoulda/autoload_macro_test.rb
challah-0.8.0.pre vendor/bundle/gems/shoulda-context-1.0.0/test/shoulda/autoload_macro_test.rb
challah-0.7.1 vendor/bundle/gems/shoulda-context-1.0.0/test/shoulda/autoload_macro_test.rb
challah-0.7.0 vendor/bundle/gems/shoulda-context-1.0.0/test/shoulda/autoload_macro_test.rb
challah-0.7.0.pre2 vendor/bundle/gems/shoulda-context-1.0.0/test/shoulda/autoload_macro_test.rb