Sha256: 52ed29fa6a6fd8dd09f62497b5700b65208b6143f3f4d9a87cee0a8c56a90077

Contents?: true

Size: 500 Bytes

Versions: 19

Compression:

Stored size: 500 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', '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

19 entries across 19 versions & 7 rubygems

Version Path
Flamefork-shoulda-2.10.1 test/other/autoload_macro_test.rb
Flamefork-shoulda-2.10.2 test/other/autoload_macro_test.rb
francois-shoulda-2.10.1 test/other/autoload_macro_test.rb
ratnikov-shoulda-2.9.0.1 test/other/autoload_macro_test.rb
ratnikov-shoulda-2.9.0.2 test/other/autoload_macro_test.rb
ratnikov-shoulda-2.9.0.3 test/other/autoload_macro_test.rb
ratnikov-shoulda-2.9.0 test/other/autoload_macro_test.rb
rmm5t-shoulda-2.9.1 test/other/autoload_macro_test.rb
technicalpickles-shoulda-2.10.0 test/other/autoload_macro_test.rb
thoughtbot-shoulda-2.10.0 test/other/autoload_macro_test.rb
thoughtbot-shoulda-2.10.1 test/other/autoload_macro_test.rb
thoughtbot-shoulda-2.9.0 test/other/autoload_macro_test.rb
thoughtbot-shoulda-2.9.1 test/other/autoload_macro_test.rb
thoughtbot-shoulda-2.9.2 test/other/autoload_macro_test.rb
shoulda-2.9.0 test/other/autoload_macro_test.rb
shoulda-2.9.1 test/other/autoload_macro_test.rb
shoulda-2.9.2 test/other/autoload_macro_test.rb
shoulda-2.10.0 test/other/autoload_macro_test.rb
shoulda-2.10.1 test/other/autoload_macro_test.rb