Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[padrino-gen] Adjust to RSpec3, and little fix #1705

Merged
merged 2 commits into from Jun 30, 2014

Conversation

tyabe
Copy link
Contributor

@tyabe tyabe commented Jun 29, 2014

to the rake task:

  • remove the formatting option
  • add description to dynamic tasks
  • using 'each_with_object' instead of 'inject'

to the templates:

  • adjust to RSpec3 syntax
  • set to be pending in the initial state

to the rake task:
* remove the formatting option
* add description to dynamic tasks
* using 'each_with_object' instead of 'inject'

to the templates:
* adjust to RSpec3 syntax
* set to be pending in the initial state
@namusyaka namusyaka added this to the 0.12.3 milestone Jun 29, 2014
@namusyaka
Copy link
Contributor

Thanks, looks good to me.

it "returns hello world" do
last_response.body.should == "Hello World"
it "http status code to be ok" do
expect(last_response).to be_ok
Copy link
Contributor

Choose a reason for hiding this comment

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

@tyabe Sorry, I overlooked this test. Has a different meaning between this test and other tests.
I guess this should probably be something like expect(last_response.body).to eq('Hello World').

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, that makes sense. I'll restore it.

@namusyaka
Copy link
Contributor

@tyabe Thank you so much!

namusyaka added a commit that referenced this pull request Jun 30, 2014
[padrino-gen] Adjust to RSpec3, and little fix
@namusyaka namusyaka merged commit 474c7d8 into padrino:master Jun 30, 2014
@tyabe tyabe deleted the fix_padrino-gen branch June 30, 2014 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants