Skip to content

Conversation

somenickname
Copy link

No description provided.

@galulex
Copy link
Member

galulex commented Oct 28, 2018

👍

it 'Should check js_skill inc' do
expect(pet.instance_variable_get('@js_skill')).to eql(0)
pet.study_js
expect(pet.instance_variable_get('@js_skill')).to eql(1)
Copy link
Member

Choose a reason for hiding this comment

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

expect { pet.study_js }.to change(pet.instance_variable(@js_skill)).form(0).to(1)

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