Skip to content

Finished calculator_spec Assignment#90

Open
MariahAcacia wants to merge 2 commits into
vikingeducation:masterfrom
MariahAcacia:master
Open

Finished calculator_spec Assignment#90
MariahAcacia wants to merge 2 commits into
vikingeducation:masterfrom
MariahAcacia:master

Conversation

@MariahAcacia

Copy link
Copy Markdown

No description provided.

Comment thread spec/calculator_spec.rb

describe "#stringify" do

let(:c) { Calculator.new(true) }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test all the methods when stringify is true

Comment thread spec/calculator_spec.rb
expect(calc.memory).to be_nil
end

it "should return object stored in memory" do

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assign a new value to memory and then test if calc.memory returns that value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants