Sha256: 4f265eec5b0d2e4b0bdcfafc3fcb268a04be1079dce7ec997db8a363fb152f72
Contents?: true
Size: 538 Bytes
Versions: 52
Compression:
Stored size: 538 Bytes
Contents
require "spec_helper" describe "The Configuration DSL" do let(:briefcase) { Brief.testcase } it "can create methods on our models" do expect(briefcase.features.first.defined_helper_method).to eq(true) end it "treats actions as available commands" do expect(Brief::Epic.defined_actions).to include(:custom_action) end it "doesnt treat helpers as available commands" do expect(Brief::Epic.defined_helper_methods).to include(:features) expect(Brief::Epic.defined_actions).not_to include(:features) end end
Version data entries
52 entries across 52 versions & 1 rubygems