Sha256: e80d0171192a0f90b625d5692008fe967d34b0e81f931034c9f3856a2bb2ebb9

Contents?: true

Size: 820 Bytes

Versions: 2

Compression:

Stored size: 820 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "StudiBudi" do
  # it "fails" do
  #   fail "hey buddy, you should probably rename this file and start specing for real"
  # end
  before do
    @study_helper = StudiBudi.new
  end

  it "should get the user's input" do
    @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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
studi-budi-0.3.1 spec/studi-budi_spec.rb
studi-budi-0.3.0 spec/studi-budi_spec.rb