Sha256: c760455debdb37caa8eb6439f2c2e88246930a5e19e0b57ad136010ca21aa638

Contents?: true

Size: 445 Bytes

Versions: 6

Compression:

Stored size: 445 Bytes

Contents

require 'test_helper'

class AutoloadMacroTest < PARENT_TEST_CASE
  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

6 entries across 6 versions & 1 rubygems

Version Path
shoulda-context-3.0.0.rc1 test/shoulda/autoload_macro_test.rb
shoulda-context-2.0.0 test/shoulda/autoload_macro_test.rb
shoulda-context-2.0.0.rc4 test/shoulda/autoload_macro_test.rb
shoulda-context-2.0.0.rc3 test/shoulda/autoload_macro_test.rb
shoulda-context-2.0.0.rc2 test/shoulda/autoload_macro_test.rb
shoulda-context-2.0.0.rc1 test/shoulda/autoload_macro_test.rb