Skip to content
This repository has been archived by the owner on May 1, 2018. It is now read-only.

class Fibonacci added #20

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

class Fibonacci added #20

wants to merge 14 commits into from

Conversation

bsydorenko
Copy link

@bsydorenko bsydorenko commented Nov 7, 2016

i'm not sure

end
end

context 'when json response' do
Copy link
Owner

Choose a reason for hiding this comment

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

contexts should be in describe block

end

context 'when json response' do
c = 'application/json'
Copy link
Owner

Choose a reason for hiding this comment

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

use let for this

c = 'application/json'

it 'successfully responds' do
c = Oj.dump(c)
Copy link
Owner

Choose a reason for hiding this comment

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

I'm not sure that you actually test controller here

c = 'text/plain'

it 'successfully responds' do
c = c.to_s
Copy link
Owner

Choose a reason for hiding this comment

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

and here and in other places

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants