spec/lib/brief/dsl_spec.rb in brief-1.9.14 vs spec/lib/brief/dsl_spec.rb in brief-1.10.0

- old
+ new

@@ -3,17 +3,17 @@ 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) + 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(:user_stories) - expect(Brief::Epic.defined_actions).not_to include(:user_stories) + expect(Brief::Epic.defined_helper_methods).to include(:features) + expect(Brief::Epic.defined_actions).not_to include(:features) end end