Sha256: c98fb9ad77a008cf267feb70da438883041906edaf672a1479e500575d806d30
Contents?: true
Size: 436 Bytes
Versions: 8
Compression:
Stored size: 436 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' require "netzke-core" describe "Any component" do class TestComponent < Netzke::Base endpoint :some_action do {} end end it "should be able to register endpoints" do TestComponent.endpoints.should include :some_action end it "should have deliver_component endpoint by default" do TestComponent.endpoints.should include :deliver_component end end
Version data entries
8 entries across 8 versions & 1 rubygems