Sha256: 5cb48ab7e1f90ef8052164cfd1830af8b3cf23c8b73b30882e446f5c059952e5
Contents?: true
Size: 550 Bytes
Versions: 39
Compression:
Stored size: 550 Bytes
Contents
require "spec_helper" describe "The Configuration DSL" do let(:briefcase) { Brief.testcase } it "can create methods on our models" do expect(briefcase.user_stories.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(:user_stories) expect(Brief::Epic.defined_actions).not_to include(:user_stories) end end
Version data entries
39 entries across 39 versions & 1 rubygems