spec/studi-budi_spec.rb in studi-budi-0.2.1 vs spec/studi-budi_spec.rb in studi-budi-0.3.0
- old
+ new
@@ -7,22 +7,21 @@
before do
@study_helper = StudiBudi.new
end
it "should get the user's input" do
- @study_helper.stub!(:gets) {"phrase"} # @study_helper.action.should eq
+ @study_helper.stub!(:gets) {"1"} # @study_helper.action.should eq
+ @study_helper.should_receive(:create)
end
+ it "should begin adding cards after creating a collection" do
+ @study_helper.create.should_receive(:adding_cards)
+ end
# "if I make a card collection called 'Potatos'" do
# adfld.@collection_name should_eq "Potatos"
# end
-
-
-
-
-
-
-
-
+ # I "should say I'm sorry I didn't finish this. I spent all my time on the .rb and that first test" do
+ # @sol.apology.should eq "Please forgive me"
+ # end
end